check / check (push) Waiting to run
The canonical `.gitea/workflows/check.yml` gains a `concurrency` block grouped by workflow and branch with `cancel-in-progress: true`, so a new push cancels the older run on the same branch and no other, and its checkout step sets `persist-credentials: false`, so the job's token is not left in `.git/config`; `script/cibuild` needs none. Both come from `dnswatcher`, where a byte-identical re-vendor would have removed them. The workflow bullet of `prompts/REPO_POLICIES.md` and both checklists now describe the file as it is. Model: opus-5-5
17 lines
565 B
YAML
17 lines
565 B
YAML
name: check
|
|
on: [push]
|
|
# Free the shared runner: a new push cancels only the same branch's older run.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# actions/checkout v4.2.2, 2026-02-22
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
# script/cibuild needs no token, so none is left in .git/config.
|
|
with:
|
|
persist-credentials: false
|
|
- run: script/cibuild
|