From f2c1a0e460f282840bd1c725dfb5da28673fb764 Mon Sep 17 00:00:00 2001 From: kixelated Date: Sun, 17 Sep 2023 22:52:26 -0700 Subject: [PATCH] Only perform one release at a time --- .github/workflows/{publish.yml => release.yml} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename .github/workflows/{publish.yml => release.yml} (95%) diff --git a/.github/workflows/publish.yml b/.github/workflows/release.yml similarity index 95% rename from .github/workflows/publish.yml rename to .github/workflows/release.yml index 76f52da..fcb9193 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Publish Docker Image +name: Release Docker Image # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by @@ -27,6 +27,11 @@ jobs: # with sigstore/fulcio when running outside of PRs. id-token: write + # Only one release at a time and cancel prior releases + concurrency: + group: release + cancel-in-progress: true + steps: - name: Checkout repository uses: actions/checkout@v3