Skip to content

Commit 6a1376f

Browse files
committed
Don't persist GitHub credentials after checkout
Fixes potential issue found by zizmor: https://github.com/woodruffw/zizmor
1 parent 5e4e015 commit 6a1376f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/guides/github-actions-ci-cd-sample/publish-to-test-pypi.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v4
12+
with:
13+
persist-credentials: false
1214
- name: Set up Python
1315
uses: actions/setup-python@v5
1416
with:

0 commit comments

Comments
 (0)