Skip to content

Commit 07d3dbf

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

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
persist-credentials: false
1012
- uses: actions/setup-python@v2
1113
- name: Install Dependencies
1214
run: |

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11+
with:
12+
persist-credentials: false
1113
- name: "Set up Python 3.10"
1214
uses: actions/setup-python@v2
1315
with:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 10
17+
persist-credentials: false
1718

1819
- name: Set up Python
1920
id: setup

.github/workflows/ruff.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
with:
11+
persist-credentials: false
1012
- uses: actions/setup-python@v2
1113
- name: Install Dependencies
1214
run: |

.github/workflows/testing.yml

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

1414
steps:
1515
- uses: actions/checkout@v2
16+
with:
17+
persist-credentials: false
1618
- name: Set up Python ${{ matrix.python-version }}
1719
uses: actions/setup-python@v2
1820
with:

0 commit comments

Comments
 (0)