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
- Test across versions
- Run jobs in order
- Run a step conditionally
- Run a step after a failure
- Start a database for tests
- Pass data between jobs
All jobs, matrices and conditions commands · GitHub Actions 1 cheatsheet