diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml index f51ebe2540320f..0317e17e6605f4 100644 --- a/.github/workflows/commit-queue.yml +++ b/.github/workflows/commit-queue.yml @@ -37,9 +37,8 @@ jobs: --repo ${{ github.repository }} \ --base ${{ github.ref_name }} \ --label 'commit-queue' \ - --no-label 'blocked' \ --json 'number' \ - --search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z")" \ + --search "created:<=$(date --date="2 days ago" +"%Y-%m-%dT%H:%M:%S%z") -label:blocked" \ -t '{{ range . }}{{ .number }} {{ end }}' \ --limit 100) fast_track_prs=$(gh pr list \ @@ -47,7 +46,7 @@ jobs: --base ${{ github.ref_name }} \ --label 'commit-queue' \ --label 'fast-track' \ - --no-label 'blocked' \ + --search "-label:blocked" \ --json 'number' \ -t '{{ range . }}{{ .number }} {{ end }}' \ --limit 100)