Skip to content

Commit 1b818e5

Browse files
committed
ci: apply fixes from zizmor
1 parent 803796e commit 1b818e5

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/codeql-analysis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
steps:
4343
- name: Checkout repository
4444
uses: actions/checkout@v4.2.2
45+
with:
46+
persist-credentials: false
4547

4648
# Initializes the CodeQL tools for scanning.
4749
- name: Initialize CodeQL

.github/workflows/main.yml

+10
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4.2.2
29+
with:
30+
persist-credentials: false
2931
- uses: actions/setup-python@v5.5.0
3032
with:
3133
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
@@ -57,6 +59,8 @@ jobs:
5759
runs-on: ${{ matrix.platform }}
5860
steps:
5961
- uses: actions/checkout@v4.2.2
62+
with:
63+
persist-credentials: false
6064
- uses: actions/setup-python@v5.5.0
6165
with:
6266
python-version: ${{ matrix.python-version }}
@@ -75,6 +79,8 @@ jobs:
7579
runs-on: ubuntu-latest
7680
steps:
7781
- uses: actions/checkout@v4.2.2
82+
with:
83+
persist-credentials: false
7884
- uses: actions/setup-python@v5.5.0
7985
with:
8086
python-version: ${{ env.MIN_PYTHON_VERSION }}
@@ -87,6 +93,8 @@ jobs:
8793
runs-on: ubuntu-latest
8894
steps:
8995
- uses: actions/checkout@v4.2.2
96+
with:
97+
persist-credentials: false
9098
- uses: actions/setup-python@v5.5.0
9199
with:
92100
python-version: ${{ env.MIN_PYTHON_VERSION }}
@@ -121,6 +129,8 @@ jobs:
121129
runs-on: ubuntu-latest
122130
steps:
123131
- uses: actions/checkout@v4.2.2
132+
with:
133+
persist-credentials: false
124134
- uses: actions/setup-python@v5.5.0
125135
with:
126136
python-version: ${{ env.MIN_PYTHON_VERSION }}

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: "Checkout repository"
2222
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
23+
with:
24+
persist-credentials: false
2325

2426
- name: "Setup Python"
2527
uses: "actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55"

0 commit comments

Comments
 (0)