diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index 6ffd9caf..b622aa26 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -31,10 +31,11 @@ jobs: # An edit matters only when it changes the base. A review of a fork's pull # request gets a read-only token: the next run labels it. if: ${{ (github.event.action != 'edited' || github.event.changes.base) && (github.event_name != 'pull_request_review' || github.event.pull_request.head.repo.full_name == github.repository) }} - # On the job, so a skipped edit cancels nothing. + # One at a time: each writes the labels of every pull request. All wait, as a + # cancelled one marks its commit. On the job, so a skipped edit does not wait. concurrency: group: ${{ github.workflow }} - cancel-in-progress: true + queue: max runs-on: ubuntu-latest timeout-minutes: 10 steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 520b8548..9a1c9995 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,12 +37,12 @@ jobs: # Lints the workflow YAML and its ${{ }} expressions — a class of # error nothing else catches until it runs. Checksum-pinned binary # rather than a third-party action (repo law: GitHub-owned actions - # only). + # only). It does not know `queue` yet (rhysd/actionlint#657). run: | curl -sLO https://github.com/rhysd/actionlint/releases/download/v1.7.12/actionlint_1.7.12_linux_amd64.tar.gz echo "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8 actionlint_1.7.12_linux_amd64.tar.gz" | sha256sum -c - tar xzf actionlint_1.7.12_linux_amd64.tar.gz actionlint - ./actionlint -shellcheck= .github/workflows/*.yml + ./actionlint -shellcheck= -ignore 'unexpected key "queue" for "concurrency" section' .github/workflows/*.yml - name: install test tool # Offline Harbor build fixtures need uv/uvx, not an installed Harbor. run: python -m pip install --quiet uv==0.13.1