Loading tutorials
Intermediate · Mid: 14 chapters · 34 min read. States assumed prerequisites
Start readingconcurrency key: where it goes, what it accepts, and what it does to a run. It assumes you can read basic workflow syntax (on, jobs, steps), know common triggers such as push and pull_request, and can use ${{ }} expressions with the github context.on, jobs, steps), know the common triggers such as push and pull_request, and can use ${{ }} expressions with the github context.on, jobs, steps) and know that a concurrency key with a group name puts runs into the same group. Here we look at what GitHub does when more than two runs arrive in one group.on, jobs, steps), know the push and pull_request triggers, and have seen ${{ }} expressions and the github context. It also assumes you know that a concurrency group allows one running and one pending run at a time.on, jobs, steps), know the push and pull_request triggers, and have seen ${{ }} expressions and the github context. It also builds on concurrency groups and cancel-in-progress from the earlier chapters.push and pull_request triggers, and can read ${{ }} expressions and the github context. You should also know that concurrency takes a group and cancel-in-progress.on, jobs, steps), common triggers such as push, and the ${{ }} expression syntax. It also assumes you have read the earlier chapters on concurrency groups and cancel-in-progress.on, jobs and steps. It also assumes you know the github context and ${{ }} expressions. You should already know how workflow-level concurrency and cancel-in-progress work.concurrency key and cancel-in-progress, and understand if: conditions and status check functions. It covers what happens to jobs and steps when concurrency cancels a run, and how to write cleanup that still runs.concurrency groups and cancel-in-progress. Here you will see how to cancel a run yourself, and how that differs from automatic cancellation.concurrency, group and cancel-in-progress do, and can build group names from the github context. Both pitfalls below come from the same cause: two runs end up in one group when you did not intend it.${{ }} expressions. It also assumes you know how concurrency, group, and cancel-in-progress behave from the earlier chapters. Here you will work backwards from a cancelled run to the setting that caused it.