Skip to content

Commit 8d8c1a0

Browse files
committed
tools: enable CQ approval label test
Enable the commit queue in node-auto-test. Treat queued PRs as aged so PR 103 exercises the approval label. PR-URL: nodejs/node#65538 Assisted-by: Codex Signed-off-by: Filip Skokan <panva.ip@gmail.com>
1 parent f1718a5 commit 8d8c1a0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/commit-queue.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
# secrets, which it needs to access Jenkins API.
1313
schedule:
1414
- cron: '*/5 * * * *'
15+
workflow_dispatch:
1516

1617
concurrency: ${{ github.workflow }}
1718

@@ -25,7 +26,7 @@ jobs:
2526
get_candidate_prs:
2627
permissions:
2728
pull-requests: read
28-
if: github.repository == 'nodejs/node'
29+
if: github.repository == 'nodejs/node-auto-test'
2930
runs-on: ubuntu-slim
3031
outputs:
3132
aged_prs: ${{ steps.get_candidate_prs.outputs.aged_prs }}
@@ -45,7 +46,7 @@ jobs:
4546
--limit 100
4647
}
4748
aged_prs=$(list_prs \
48-
--search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z") -label:blocked")
49+
--search "created:<=$(date --date="0 days ago" +"%Y-%m-%dT%H:%M:%S%z") -label:blocked")
4950
fast_track_prs=$(list_prs \
5051
--label 'fast-track' \
5152
--search "-label:blocked")

0 commit comments

Comments
 (0)