Skip to content

Commit

Permalink
Block destroy on deploy (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
berryd authored Sep 9, 2024
1 parent e4c4d5b commit eabb621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "!skipci*"

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.ref_name }}

permissions:
id-token: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
description: "Name of the environment to destroy:"
required: true

concurrency:
group: ${{ inputs.environment || github.event.ref }}

permissions:
id-token: write
contents: read
Expand Down

0 comments on commit eabb621

Please sign in to comment.