Skip to content

Commit 8c2e48d

Browse files
committed
chore: use new restricted pre-release env; restore fork guard
1 parent 0be52bb commit 8c2e48d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pre-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# so subsequent jobs can restore from a trusted point in time to prevent tampering
4949
seal:
5050
# ignore forks
51-
# if: github.repository == 'aws-powertools/powertools-lambda-python'
51+
if: github.repository == 'aws-powertools/powertools-lambda-python'
5252

5353
runs-on: ubuntu-latest
5454
permissions:
@@ -215,7 +215,7 @@ jobs:
215215
# It uses the sealed build artifact (.whl, .tar.gz) to release it
216216
release:
217217
needs: [build, seal, provenance]
218-
environment: release
218+
environment: pre-release
219219
runs-on: ubuntu-latest
220220
permissions:
221221
id-token: write # OIDC for PyPi Trusted Publisher feature

0 commit comments

Comments
 (0)