Skip to content

Commit 2fb34a8

Browse files
committed
ci: disable persist-credentials on checkout actions
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent fe37602 commit 2fb34a8

6 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
- 1.26
3131
steps:
3232
- uses: actions/checkout@v6
33+
with:
34+
persist-credentials: false
3335
- name: install Go
3436
uses: actions/setup-go@v6
3537
with:
@@ -56,6 +58,7 @@ jobs:
5658
with:
5759
path: src/github.com/containerd/accelerated-container-image
5860
fetch-depth: 100
61+
persist-credentials: false
5962

6063
- name: set env
6164
shell: bash

.github/workflows/ci-build-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
with:
3939
ref: ${{ inputs.commit-hash }}
4040
fetch-depth: 0
41+
persist-credentials: false
4142

4243
- name: Setup Buildx
4344
uses: docker/setup-buildx-action@v2

.github/workflows/ci-unit-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 100
33+
persist-credentials: false
3334

3435
- name: install Go
3536
uses: actions/setup-go@v6

.github/workflows/ci-userspace-convertor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
with:
5252
ref: ${{ inputs.commit-hash }}
5353
fetch-depth: 0
54+
persist-credentials: false
5455

5556
- name: Start OverlayBD
5657
working-directory: /app

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
steps:
3131
- name: Checkout repository
3232
uses: actions/checkout@v6
33+
with:
34+
persist-credentials: false
3335

3436
- uses: actions/setup-go@v6
3537
with:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: actions/checkout@v6
3333
with:
3434
fetch-depth: 100
35+
persist-credentials: false
3536
- name: Setup buildx instance
3637
uses: docker/setup-buildx-action@v2
3738
with:

0 commit comments

Comments
 (0)