Skip to content

Commit c899139

Browse files
oraNodgotmax23
andauthored
ci: fix issues identified by zizmor GHA linter (#3331) (#3335)
(cherry picked from commit 8131b7a) Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com>
1 parent 991c445 commit c899139

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
pull_request:
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
nox:
1619
uses: ./.github/workflows/reusable-nox.yml

.github/workflows/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424

2525
name: "Triage Issues and PRs"
2626

27+
permissions:
28+
contents: read
29+
2730
jobs:
2831
label_prs:
2932
runs-on: ubuntu-latest
@@ -43,6 +46,8 @@ jobs:
4346
private-key: ${{ secrets.BOT_APP_KEY }}
4447
- name: Checkout parent repository
4548
uses: actions/checkout@v4
49+
with:
50+
persist-credentials: false
4651
- name: Install Python 3.11
4752
uses: actions/setup-python@v5
4853
with:

.github/workflows/reusable-nox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
steps:
3737
- name: Check out repo
3838
uses: actions/checkout@v4
39+
with:
40+
persist-credentials: false
3941
- name: Setup nox
4042
uses: wntrblm/nox@2025.10.16
4143
with:

0 commit comments

Comments
 (0)