Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/merge-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ permissions:

jobs:
queue:
# Only engage the merge-queue action when the `queue` label is the one
# being added (or on manual dispatch). Firing on any label makes the job
# run for routine labels like Dependabot's `dependencies`/`go`, where
# secrets.MERGE_QUEUE_TOKEN is withheld from the run and the action fails
# with "Input required and not supplied: token". Guarding on the label
# name skips those events cleanly instead of exposing the token.
Comment thread
jeduden marked this conversation as resolved.
Outdated
if: >-
github.event_name == 'workflow_dispatch' ||
github.event.label.name == 'queue'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand Down
Loading