Merge pull request #1828 from rockerBOO/workflow-security-audit

Prevent git credentials from leaking into other actions
This commit is contained in:
Kohya S.
2024-12-15 18:55:37 +09:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -23,6 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# https://woodruffw.github.io/zizmor/audits/#artipacked
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

View File

@@ -18,6 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# https://woodruffw.github.io/zizmor/audits/#artipacked
persist-credentials: false
- name: typos-action
uses: crate-ci/typos@v1.28.1