Skip to content

Commit 58b9021

Browse files
committed
feat: scope PAT-using release/publish jobs to 'release' environment
1 parent e54e269 commit 58b9021

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
@@ -119,6 +119,7 @@ jobs:
119119
update-chart:
120120
name: Update Helm chart
121121
runs-on: ubuntu-24.04
122+
environment: release
122123
needs: [publish-docker,publish-crds]
123124

124125
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
release:
3737
name: Trigger release
3838
runs-on: ubuntu-24.04
39+
environment: release
3940
permissions:
4041
contents: write
4142

0 commit comments

Comments
 (0)