fix: add concurrency groups to publish workflows

Multiple CI completions for the same commit (tag push + branch push)
caused duplicate publish and docker runs. Concurrency group keyed on
head_sha ensures only one publish runs per commit.
This commit is contained in:
Patrick Buckley
2026-04-02 17:23:01 -07:00
parent c234d66ebf
commit 8142d2f1ad
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -5,6 +5,10 @@ on:
workflows: ["CI"]
types: [completed]
concurrency:
group: docker-${{ github.event.workflow_run.head_sha }}
cancel-in-progress: true
permissions:
contents: read
packages: write
+4
View File
@@ -5,6 +5,10 @@ on:
workflows: ["CI"]
types: [completed]
concurrency:
group: publish-${{ github.event.workflow_run.head_sha }}
cancel-in-progress: true
permissions:
contents: write
id-token: write