From 9c828f4d6c9ea66f0c6c69bded064eca7abb0929 Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Sun, 12 Nov 2023 14:02:22 +0000 Subject: [PATCH] Only run one build per commit SHA Every time I push a tag on main, it triggers two builds for the exact same commit SHA. Instead, we can update our GitHub Actions concurrency group to use the SHA rather than the ref for disambiguation. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 006aec7..9eb730f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,6 @@ name: re2 Tests concurrency: - group: "${{github.workflow}}-${{github.ref}}" + group: "${{github.workflow}}-${{github.sha}}" cancel-in-progress: true on: workflow_dispatch: