Skip to content

Commit

Permalink
Only run one build per commit SHA
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mudge committed Nov 12, 2023
1 parent 7fa9ff8 commit 9c828f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 9c828f4

Please sign in to comment.