Reference for concurrent steps within a GitHub Actions job and the background, wait, wait-all, cancel, and parallel keywords.
日本語の概要は準備中です。原文の説明を表示しています。
stablyai/skills52026年10月17日 更新
Reduce wasted GitHub Actions PR checks with stable concurrency keys, cancellation of superseded runs, and job-level draft guards.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
For PR checks, cancel superseded runs and skip jobs while the PR is a draft:
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, converted_to_draft]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
github.workflow; keep caller and callee concurrency keys distinct.github.event.pull_request.draft != true to each check job's existing if, including reusable-workflow callers and aggregate jobs. Job guards prevent runner allocation; step guards still allocate runners.ready_for_review and converted_to_draft. The former starts checks when review begins; the latter lets a replacement run cancel old work before its jobs skip.References: concurrency, PR events.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Reference for concurrent steps within a GitHub Actions job and the background, wait, wait-all, cancel, and parallel keywords.
日本語の概要は準備中です。原文の説明を表示しています。