Skip to content

Commit 8112e67

Browse files
authored
fix: ensure we're not persisting credentials after checkouts (#122)
Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent 3c4e380 commit 8112e67

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v5.0.0
14+
with:
15+
persist-credentials: false
1416
- uses: actions/setup-go@v6
1517
with:
1618
go-version: "^1.23.4"
@@ -50,6 +52,8 @@ jobs:
5052
runs-on: ubuntu-latest
5153
steps:
5254
- uses: actions/checkout@v5.0.0
55+
with:
56+
persist-credentials: false
5357
- uses: actions/setup-go@v6
5458
with:
5559
go-version: "^1.23.4"

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v5.0.0
19+
with:
20+
persist-credentials: false
1921
- uses: actions/setup-go@v6
2022
with:
2123
go-version: stable

.github/workflows/post-merge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v5.0.0
14+
with:
15+
persist-credentials: false
1416
- id: Fetch_tags
1517
run: git fetch --prune --unshallow --tags
1618
- run: git describe --tags

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@v5.0.0
2727
with:
2828
fetch-depth: 0
29+
persist-credentials: false
2930
- name: Set up Go
3031
uses: actions/setup-go@v6
3132
with:

.github/workflows/site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
with:
1212
submodules: recursive # Fetch Hugo themes (true OR recursive)
1313
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
14+
persist-credentials: false
1415

1516
- name: Setup Hugo
1617
uses: peaceiris/actions-hugo@v3.0.0

0 commit comments

Comments
 (0)