Skip to content

Commit 6f8a942

Browse files
committed
ci: apply fixes from zizmor
1 parent b54af26 commit 6f8a942

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-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
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
29+
with:
30+
persist-credentials: false
2931
- uses: actions/setup-python@v5
3032
with:
3133
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
@@ -50,6 +52,8 @@ jobs:
5052
runs-on: ${{ matrix.platform }}
5153
steps:
5254
- uses: actions/checkout@v4
55+
with:
56+
persist-credentials: false
5357
- uses: actions/setup-python@v5
5458
with:
5559
python-version: ${{ matrix.python-version }}
@@ -68,6 +72,8 @@ jobs:
6872
runs-on: ubuntu-latest
6973
steps:
7074
- uses: actions/checkout@v4
75+
with:
76+
persist-credentials: false
7177
- uses: actions/setup-python@v5
7278
with:
7379
python-version: ${{ env.MIN_PYTHON_VERSION }}
@@ -80,6 +86,8 @@ jobs:
8086
runs-on: ubuntu-latest
8187
steps:
8288
- uses: actions/checkout@v4
89+
with:
90+
persist-credentials: false
8391
- uses: actions/setup-python@v5
8492
with:
8593
python-version: ${{ env.MIN_PYTHON_VERSION }}
@@ -114,6 +122,8 @@ jobs:
114122
runs-on: ubuntu-latest
115123
steps:
116124
- uses: actions/checkout@v4
125+
with:
126+
persist-credentials: false
117127
- uses: actions/setup-python@v5
118128
with:
119129
python-version: ${{ env.MIN_PYTHON_VERSION }}

0 commit comments

Comments
 (0)