There was an error while loading. Please reload this page.
2 parents 9fddc16 + d2fe508 commit e06b60fCopy full SHA for e06b60f
1 file changed
.github/workflows/pr-checks.yml
@@ -67,7 +67,12 @@ jobs:
67
68
- name: Upload sarif
69
uses: ./upload-sarif
70
- if: matrix.os == 'ubuntu-latest' && matrix.node-version == 24
+ # The merge queue deletes its `gh-readonly-queue` ref as soon as the queue entry resolves,
71
+ # so uploading against it races with that deletion. Both the `merge_group` run and the
72
+ # paired `push` run that the queue branch creates use that ref, so gate on the ref itself
73
+ # rather than the event. The same results are uploaded by the `pull_request` run and again
74
+ # by the `push` run on `main`.
75
+ if: matrix.os == 'ubuntu-latest' && matrix.node-version == 24 && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/')
76
with:
77
sarif_file: eslint.sarif
78
category: eslint
0 commit comments