Skip to content

Commit a19a823

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

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v3
31+
with:
32+
persist-credentials: false
3133

3234
- name: Initialize CodeQL
3335
uses: github/codeql-action/init@v1

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12+
with:
13+
persist-credentials: false
1214

1315
- name: Set up Python 3
1416
uses: actions/setup-python@v3
@@ -34,6 +36,8 @@ jobs:
3436

3537
steps:
3638
- uses: actions/checkout@v3
39+
with:
40+
persist-credentials: false
3741

3842
- name: Set up Python 3
3943
uses: actions/setup-python@v3

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
python-version: ["3.11", "3.12"]
1212
steps:
1313
- uses: actions/checkout@v3
14+
with:
15+
persist-credentials: false
1416

1517
- name: Install Python ${{ matrix.python-version }}
1618
uses: actions/setup-python@v3

0 commit comments

Comments
 (0)