File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,10 @@ permissions:
1414 contents : write
1515
1616jobs :
17+
1718 prepare-and-commit-staging :
1819 runs-on : ubuntu-latest
20+ environment : staging
1921 if : |
2022 (github.event_name == 'pull_request' && contains(github.event.pull_request.title, '[codecane]')) ||
2123 (github.event_name == 'push' && contains(github.event.head_commit.message, '[codecane]'))
@@ -118,6 +120,7 @@ jobs:
118120
119121 build-staging-binaries :
120122 needs : prepare-and-commit-staging
123+ en vironment : staging
121124 uses : ./.github/workflows/cli-release-build.yml
122125 with :
123126 binary-name : codecane
@@ -130,6 +133,7 @@ jobs:
130133 create-staging-release :
131134 needs : [prepare-and-commit-staging, build-staging-binaries]
132135 runs-on : ubuntu-latest
136+ environment : staging
133137 steps :
134138 - uses : actions/checkout@v4
135139 with :
@@ -207,6 +211,7 @@ jobs:
207211 create-staging-release,
208212 ]
209213 runs-on : ubuntu-latest
214+ environment : staging
210215 permissions :
211216 contents : read
212217 id-token : write
You can’t perform that action at this time.
0 commit comments