What does this workflow setting do?
concurrency:
group: deploy-${{ github.ref }}
cancel-in-progress: true
- Runs every job of the workflow in parallel
- Cancels older runs for the same ref
- Retries failed jobs until they pass
- Limits the workflow to one runner
Runs sharing a concurrency group queue up; cancel-in-progress stops the stale one so only the newest commit deploys.
Play DevOps ▸