Skip to content

Commit 484d205

Browse files
committed
Bind OIDC publishing to protected environment
1 parent 864441b commit 484d205

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
startsWith(github.ref, 'refs/tags/v')) ||
2525
(github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main'))
2626
runs-on: ubuntu-latest
27+
environment: github-release
2728
env:
2829
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true"
2930
permissions:

0 commit comments

Comments
 (0)