Skip to content

Commit

Permalink
fix(ci): use head_ref for perview workflows concurrency key
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Apr 3, 2023
1 parent 610b934 commit 0192529
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 0192529

Please sign in to comment.