We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c395497 commit 599dbf4Copy full SHA for 599dbf4
1 file changed
.github/workflows/coverage.yml
@@ -4,13 +4,14 @@ on:
4
workflows: ["UnitTests"]
5
types:
6
- completed
7
- workflow_dispatch:
+ # Only trigger on PR events, not pushes to main
8
+ branches-ignore:
9
+ - main
10
11
jobs:
12
test:
13
name: Run tests & display coverage
14
runs-on: ubuntu-latest
- # This ensures it ONLY runs on PR events, not pushes to main
15
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
16
permissions:
17
pull-requests: write
0 commit comments