Skip to content

Commit

Permalink
Auto merge of #113059 - Kobzol:ci-concurrency-fix, r=pietroalbini
Browse files Browse the repository at this point in the history
CI: do not cancel concurrent builds on the same branch

Do not cancel concurrent builds on the same branch (outside of PRs).

Instead, only cancel them if the builds have the same commit SHA.

From the [documentation](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context):
> The commit SHA that triggered the workflow. The value of this commit SHA depends on the event that triggered the workflow. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows)." For example, ffac537e6cbbf934b08745a378932722df287a53.

Fixes: rust-lang/rust#112955 (comment)

r? `@pietroalbini`
  • Loading branch information
bors committed Jun 29, 2023
2 parents f72364e + ab7a055 commit 99d8873
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 99d8873

Please sign in to comment.