Skip to content

Commit 599dbf4

Browse files
author
Mark Saroufim
authored
Update coverage.yml
1 parent c395497 commit 599dbf4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ on:
44
workflows: ["UnitTests"]
55
types:
66
- completed
7-
workflow_dispatch:
7+
# Only trigger on PR events, not pushes to main
8+
branches-ignore:
9+
- main
810

911
jobs:
1012
test:
1113
name: Run tests & display coverage
1214
runs-on: ubuntu-latest
13-
# This ensures it ONLY runs on PR events, not pushes to main
1415
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1516
permissions:
1617
pull-requests: write

0 commit comments

Comments
 (0)