mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: remove skip logic in commit-queue.sh
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65162 Reviewed-By: Jithil P Ponnan <jithil@outlook.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 file changed
+1
-12
@@ -35,18 +35,7 @@ SHOULD_ABORT=
|
||||
|
||||
for pr in "$@"; do
|
||||
gh pr view "$pr" --json labels --jq ".labels" > labels.json
|
||||
# Skip PR if CI was requested
|
||||
if jq -e 'map(.name) | index("request-ci")' < labels.json; then
|
||||
echo "pr ${pr} skipped, waiting for CI to start"
|
||||
continue
|
||||
fi
|
||||
|
||||
# Skip PR if CI is still running
|
||||
if gh pr checks "$pr" | grep -q "\spending\s"; then
|
||||
echo "pr ${pr} skipped, CI still running"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
if jq -e 'map(.name) | index("commit-queue-squash")' < labels.json; then
|
||||
MULTIPLE_COMMIT_POLICY="--fixupAll"
|
||||
elif jq -e 'map(.name) | index("commit-queue-rebase")' < labels.json; then
|
||||
|
||||
Reference in new issue
Block a user