Skip to content

Commit 8131b7a

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

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
@@ -16,6 +16,9 @@ name: Ansible Docsite CI
1616
- ready_for_review # used in PRs created from GitHub Actions workflows
1717
workflow_dispatch:
1818

19+
permissions:
20+
contents: read
21+
1922
jobs:
2023
nox:
2124
uses: ./.github/workflows/reusable-nox.yml

.github/workflows/labeler.yml

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

3030
name: "Triage Issues and PRs"
3131

32+
permissions:
33+
contents: read
34+
3235
jobs:
3336
label_prs:
3437
runs-on: ubuntu-latest
@@ -48,6 +51,8 @@ jobs:
4851
private-key: ${{ secrets.BOT_APP_KEY }}
4952
- name: Checkout parent repository
5053
uses: actions/checkout@v5
54+
with:
55+
persist-credentials: false
5156
- name: Install Python 3.12
5257
uses: actions/setup-python@v6
5358
with:

.github/workflows/reusable-nox.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
steps:
3939
- name: Check out repo
4040
uses: actions/checkout@v5
41+
with:
42+
persist-credentials: false
4143
- name: Setup nox
4244
uses: wntrblm/nox@2025.10.16
4345
with:

0 commit comments

Comments
 (0)