Skip to content

Commit 875429c

Browse files
committed
Fix conditions in code scanning config checks
DIff-informed analysis isn't enabled in the merge queue.
1 parent b0ed4de commit 875429c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/codescanning-config-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ jobs:
8080
# On PRs, overlay analysis may change the config that is passed to the CLI.
8181
# Therefore, we have two variants of the following test, one for PRs and one for other events.
8282
- name: Empty file (non-PR)
83-
if: github.event_name != 'pull_request' && github.event_name != 'merge_group'
83+
if: github.event_name != 'pull_request'
8484
uses: ./../action/.github/actions/check-codescanning-config
8585
with:
8686
expected-config-file-contents: "{}"
8787
languages: javascript
8888
tools: ${{ steps.prepare-test.outputs.tools-url }}
8989

9090
- name: Empty file (PR)
91-
if: github.event_name == 'pull_request' || github.event_name == 'merge_group'
91+
if: github.event_name == 'pull_request'
9292
uses: ./../action/.github/actions/check-codescanning-config
9393
with:
9494
expected-config-file-contents: |

0 commit comments

Comments
 (0)