GitHub Actions 1 · Jobs, matrices and conditions

Cancel outdated runs

Cancel an in-progress run when a newer one starts for the same branch.

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

Official GitHub Actions 1 documentation

More jobs, matrices and conditions commands

All jobs, matrices and conditions commands · GitHub Actions 1 cheatsheet

Was this page helpful?