diff options
author | sudoforge <no-reply@sudoforge.com> | 2024-07-18 21:49:33 -0700 |
---|---|---|
committer | sudoforge <9c001b67637a@sudoforge.com> | 2024-07-20 07:44:23 -0700 |
commit | a4b8858668d44203f31e1d9cd675b02600d0ea3f (patch) | |
tree | 69de399103211230a260b1f9423e3d42af8d5634 /.github/workflows/release.yml | |
parent | f79ea38c8f5ef0f201e3f824b818247777fedc0a (diff) | |
download | git-bug-a4b8858668d44203f31e1d9cd675b02600d0ea3f.tar.gz |
feat: add concurrency limits to all pipelines
This change restricts the number of active pipeline executions for a
given tree to one, so that new pushes to a tree that trigger a pipeline
will cancel older (but still running) pipelines.
Change-Id: I1deda682d39cadbce97f8df4ca7c3110a96b4549
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa5fbcc2..24b0fef9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,10 @@ on: tags: - "v*" +concurrency: + group: release-${{ github.ref }} + cancel-in-progress: true + jobs: build-release: runs-on: "ubuntu-latest" |