Skip to content

Commit 4842dcb

Browse files
authored
workflows: don't persist credentials on GHA checkout (#29)
1 parent f462ebe commit 4842dcb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
1416

1517
- uses: actions/setup-python@v5
1618
with:

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
2224

2325
- uses: actions/setup-python@v5
2426
with:

0 commit comments

Comments
 (0)