Skip to content

Commit c49aeae

Browse files
tools: make commit-queue check blocked label
1 parent 6af5c4e commit c49aeae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/commit-queue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
--repo ${{ github.repository }} \
3838
--base ${{ github.ref_name }} \
3939
--label 'commit-queue' \
40+
--no-label 'blocked' \
4041
--json 'number' \
4142
--search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z")" \
4243
-t '{{ range . }}{{ .number }} {{ end }}' \

tools/actions/commit-queue.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ git config --local user.name "Node.js GitHub Bot"
3333

3434
for pr in "$@"; do
3535
gh pr view "$pr" --json labels --jq ".labels" > labels.json
36+
3637
# Skip PR if CI was requested
3738
if jq -e 'map(.name) | index("request-ci")' < labels.json; then
3839
echo "pr ${pr} skipped, waiting for CI to start"

0 commit comments

Comments
 (0)