aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2026-08-14 14:50:12 +0200
committerTheo Buehler <tb@openbsd.org>2026-08-14 15:47:51 +0200
commite07df6da53a0ae5c07383546b7219577a68610cd (patch)
treeb9cae26a2cb4a63192927c1032fe30752409d899 /.github/workflows/linux.yml
parent0e1a7af560f468066d08f95760306ccfed3c4bd9 (diff)
downloadportable-e07df6da53a0ae5c07383546b7219577a68610cd.tar.gz
portable-e07df6da53a0ae5c07383546b7219577a68610cd.tar.bz2
portable-e07df6da53a0ae5c07383546b7219577a68610cd.zip
zizmor: set persist-credentials
per zizmor, actions/checkout should be followed by removal of credentials that may have been saved to disk. Doing so fixes lots of whining such as: ``` warning[artipacked]: credential persistence through GitHub Actions artifacts --> ./.github/workflows/android.yml:27:9 | 27 | - name: "Checkout repository" | _________^ 28 | | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |________________________________________________________________________________^ does not set persist-credentials: false | = note: audit confidence → Low = note: this finding has an auto-fix ```
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 4fbe987..a2a85e7 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -48,6 +48,8 @@ jobs:
48 steps: 48 steps:
49 - name: "Checkout repository" 49 - name: "Checkout repository"
50 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 50 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
51 with:
52 persist-credentials: false
51 53
52 - name: "Install test dependencies" 54 - name: "Install test dependencies"
53 run: | 55 run: |
@@ -100,6 +102,8 @@ jobs:
100 steps: 102 steps:
101 - name: "Checkout repository" 103 - name: "Checkout repository"
102 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 104 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
105 with:
106 persist-credentials: false
103 107
104 - name: "Install test dependencies" 108 - name: "Install test dependencies"
105 run: | 109 run: |