Skip to content

Commit c260e6d

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

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v3
28+
with:
29+
persist-credentials: false
2830

2931
- name: Initialize CodeQL
3032
uses: github/codeql-action/init@v2

.github/workflows/pytest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v3
24+
with:
25+
persist-credentials: false
2426
- name: Set up Python ${{ matrix.python-version }}
2527
uses: actions/setup-python@v3
2628
with:
@@ -65,6 +67,8 @@ jobs:
6567

6668
steps:
6769
- uses: actions/checkout@v3
70+
with:
71+
persist-credentials: false
6872
- name: Set up Python ${{ matrix.python-version }}
6973
uses: actions/setup-python@v3
7074
with:

0 commit comments

Comments
 (0)