Skip to content

Commit fce05f8

Browse files
committed
feat: scope PAT-using release/publish jobs to 'release' environment
1 parent d4a31ca commit fce05f8

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152
update-cop:
153153
name: Update component operator
154154
runs-on: ubuntu-24.04
155+
environment: release
155156
needs: validate
156157

157158
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
release:
3939
name: Trigger release
4040
runs-on: ubuntu-24.04
41+
environment: release
4142
permissions:
4243
contents: write
4344

0 commit comments

Comments
 (0)