Skip to content
Latchkey

Job Concurrency Group Key - CI/CD Glossary Definition

A concurrency group key groups workflow runs so only one run per key runs at a time, queueing or cancelling the rest.

A concurrency group key is the string that groups workflow runs so only one run per key executes at a time, set with concurrency.group. Runs sharing a key queue or cancel each other.

A well-chosen key (often per branch or per environment) stops duplicate runs from racing and saves minutes.

Common patterns

Use group: ${{ github.workflow }}-${{ github.ref }} to keep one run per branch, and add cancel-in-progress: true to cancel a superseded run when a newer commit arrives.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →