Skip to content

Commit b4c19d8

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

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
16+
with:
17+
persist-credentials: false
1618
- uses: codespell-project/actions-codespell@406322ec52dd7b488e48c1c4b82e2a8b3a1bf630 # v2
1719
with:
1820
check_filenames: true

{{cookiecutter.github_project_name}}/.github/workflows/lint.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@v2
14+
with:
15+
persist-credentials: false
1416
- uses: actions/setup-python@v2
1517
- uses: psf/black@stable
1618
with:

{{cookiecutter.github_project_name}}/.github/workflows/publish.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@v2
14+
with:
15+
persist-credentials: false
1416
- name: Install Python
1517
uses: actions/setup-python@v2
1618
with:

{{cookiecutter.github_project_name}}/.github/workflows/test.yml

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

2325
- name: Setup Python ${{ matrix.python-version }}
2426
uses: actions/setup-python@v2

0 commit comments

Comments
 (0)