Skip to content

Commit f637099

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

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

.github/workflows/black.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
10+
with:
11+
persist-credentials: false
1012
- uses: psf/black@stable

.github/workflows/check-test-coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
persist-credentials: false
1315
- name: Setup Python
1416
uses: actions/setup-python@v2
1517
with:

.github/workflows/python-publish.yml

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

1515
steps:
1616
- uses: actions/checkout@v2
17+
with:
18+
persist-credentials: false
1719
- name: Set up Python
1820
uses: actions/setup-python@v2
1921
with:

.github/workflows/python-runlinter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
18+
with:
19+
persist-credentials: false
1820
- name: Set up Python
1921
uses: actions/setup-python@v2
2022
with:

.github/workflows/python-runtests-all.yml

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

2020
steps:
2121
- uses: actions/checkout@v2
22+
with:
23+
persist-credentials: false
2224
- name: Set up Python ${{ matrix.python-version }}
2325
uses: actions/setup-python@v2
2426
with:

0 commit comments

Comments
 (0)