Skip to content

Commit 06a437e

Browse files
Add release environment to release workflow
Restricts release workflow to protected branches only. Environment managed via terraform-github. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e635af4 commit 06a437e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ on:
1616
jobs:
1717
release:
1818
runs-on: ubuntu-latest
19-
# TODO: Add `environment: release` after testing, then create the environment
20-
# in repo Settings > Environments with "Protected branches only" deployment policy
19+
environment: release
2120
permissions:
2221
contents: write
2322
packages: write

0 commit comments

Comments
 (0)