Skip to content

Commit 340bdfe

Browse files
authored
Merge pull request #60 from linuxserver/checkout-creds
2 parents 5d69252 + 96b71f8 commit 340bdfe

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/docker-mod-builder.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@ jobs:
4141
- name: Check Out Repo (Commit)
4242
uses: actions/checkout@v6
4343
if: ${{ github.event_name != 'pull_request_target' }}
44+
with:
45+
persist-credentials: false
4446

4547
- name: Check Out Repo (PR)
4648
uses: actions/checkout@v6
4749
if: ${{ github.event_name == 'pull_request_target' }}
4850
with:
4951
ref: ${{ github.event.pull_request.head.sha }}
52+
persist-credentials: false
5053

5154
- name: Set Vars
5255
run: |

.github/workflows/init-svc-executable-permissions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
- uses: actions/checkout@v6
1010
with:
1111
ref: ${{ github.event.pull_request.head.sha }}
12+
persist-credentials: false
1213
- name: Check Permissions
1314
run: |
1415
WRONG_PERM=$(find ./ -path "./.git" -prune -o \( -name "run" -o -name "finish" -o -name "check" \) -not -perm -u=x,g=x,o=x -print)

0 commit comments

Comments
 (0)