Skip to content

Concurrency

Allows workflows to block or cancel other workflows.

Parameters

group

The rule will affect all workflows that share the same concurrency group name

cancel-in-progress

  • false (default)
  • true - on start of this workflow; any other workflow with the same group will be cancelled

Limitations

Code

concurrency:
  group: name-${{ github.ref_name }}
  cancel-in-progress: false