File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3030 contents : read # for actions/checkout to fetch code
3131 security-events : write # for github/codeql-action/autobuild to send a status report
3232 packages : read # required to fetch internal or private CodeQL packs
33-
33+ if : ${{ github.event_name != 'merge_group' }}
3434 strategy :
3535 fail-fast : false
3636 matrix :
Original file line number Diff line number Diff line change @@ -16,15 +16,13 @@ permissions:
1616
1717jobs :
1818 dependency-review :
19+ name : Dependency Review
1920 runs-on : ubuntu-22.04
2021 permissions :
2122 contents : read # for actions/checkout
2223 pull-requests : write # for actions/dependency-review-action to post comments
24+ if : ${{ github.event_name != 'merge_group' }}
2325 steps :
24- - name : Skip on Merge Group
25- run : exit 0 # Artifically flag as successful, as this is a required check for branch protection.
26- if : github.event_name == 'merge_group'
27-
2826 - name : Checkout Repository
2927 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3028
You can’t perform that action at this time.
0 commit comments