We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c44fe4 commit 6bf2458Copy full SHA for 6bf2458
.github/workflows/README.md
@@ -106,7 +106,7 @@ _Recovery:_ Manually trigger the action again.
106
107
### analyze-changes [🔗](analyze-changes.yaml)
108
109
-_Trigger:_ When pushing commits to `master` or any pull request targeting `master`.
+_Trigger:_ When pushing commits to `master`.
110
111
_Action:_
112
.github/workflows/analyze-changes.yaml
@@ -61,6 +61,8 @@ jobs:
61
62
trivy:
63
name: Analyze changes with Trivy
64
+ # Don’t run on PR, only when pushing to master
65
+ if: github.event_name == 'push' && github.ref == 'refs/heads/master'
66
runs-on: ubuntu-latest
67
permissions:
68
actions: read
0 commit comments