Skip to content

Commit 3e690b4

Browse files
committed
CI: auto-fix via zizmor
May include: - Avoids risky string interpolation. - Prevents checkout premissions from leaking
1 parent f1b0255 commit 3e690b4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2123

2224
- uses: actions/setup-python@v5
2325
with:
@@ -50,6 +52,8 @@ jobs:
5052
if: contains(github.ref, 'tags')
5153
steps:
5254
- uses: actions/checkout@v4
55+
with:
56+
persist-credentials: false
5357
- uses: actions/download-artifact@v4.3.0
5458
with:
5559
name: docs

.github/workflows/test_and_deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828

2929
steps:
3030
- uses: actions/checkout@v4
31+
with:
32+
persist-credentials: false
3133

3234
- name: Set up Python ${{ matrix.python-version }}
3335
uses: actions/setup-python@v5
@@ -84,6 +86,8 @@ jobs:
8486
id-token: write
8587
steps:
8688
- uses: actions/checkout@v4
89+
with:
90+
persist-credentials: false
8791
- name: Set up Python
8892
uses: actions/setup-python@v5
8993
with:

0 commit comments

Comments
 (0)