Skip to content

Commit 4038f7b

Browse files
authored
ci: apply fixes from zizmor (#1239)
1 parent 76f3683 commit 4038f7b

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
steps:
4343
- name: Checkout repository
4444
uses: actions/[email protected]
45+
with:
46+
persist-credentials: false
4547

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

.github/workflows/main.yml

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

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
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)