Skip to content

Commit

Permalink
Merge pull request #271 from CodeForPhilly/use-head_ref-for-concurren…
Browse files Browse the repository at this point in the history
…cy-key

fix(ci): use head_ref for perview workflows concurrency key
  • Loading branch information
themightychris committed Apr 3, 2023
2 parents 610b934 + 0192529 commit 10170e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [ develop ]

concurrency:
group: preview-${{ github.ref }}
group: preview-${{ github.head_ref }}
cancel-in-progress: true

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [ closed ]

concurrency:
group: preview-${{ github.ref }}
group: preview-${{ github.head_ref }}
cancel-in-progress: true

permissions:
Expand Down

0 comments on commit 10170e6

Please sign in to comment.