mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
ci: fix issues identified by zizmor GHA linter (#3331)
Co-authored-by: Maxwell G <9920591+gotmax23@users.noreply.github.com>
This commit is contained in:
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@@ -16,6 +16,9 @@ name: Ansible Docsite CI
|
||||
- ready_for_review # used in PRs created from GitHub Actions workflows
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
nox:
|
||||
uses: ./.github/workflows/reusable-nox.yml
|
||||
|
||||
5
.github/workflows/labeler.yml
vendored
5
.github/workflows/labeler.yml
vendored
@@ -29,6 +29,9 @@
|
||||
|
||||
name: "Triage Issues and PRs"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
label_prs:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -48,6 +51,8 @@ jobs:
|
||||
private-key: ${{ secrets.BOT_APP_KEY }}
|
||||
- name: Checkout parent repository
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Python 3.12
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
|
||||
2
.github/workflows/reusable-nox.yml
vendored
2
.github/workflows/reusable-nox.yml
vendored
@@ -38,6 +38,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repo
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Setup nox
|
||||
uses: wntrblm/nox@2025.10.16
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user