We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 249f5c9 + dd46c36 commit 1be6c16Copy full SHA for 1be6c16
1 file changed
.github/workflows/merge-queue.yml
@@ -24,6 +24,15 @@ permissions:
24
25
jobs:
26
queue:
27
+ # Only engage the merge-queue action when the `queue` label is the one
28
+ # being added (or on manual dispatch). Firing on any label makes the job
29
+ # run for routine labels like Dependabot's `dependencies`/`go`, where
30
+ # secrets.MERGE_QUEUE_TOKEN is withheld from the run and the action fails
31
+ # with "Input required and not supplied: token". Guarding on the label
32
+ # name skips those events cleanly instead of failing on the absent token.
33
+ if: >-
34
+ github.event_name == 'workflow_dispatch' ||
35
+ github.event.label.name == 'queue'
36
runs-on: ubuntu-latest
37
steps:
38
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
0 commit comments