Skip to content

Commit ff1dcc5

Browse files
🩹 [Patch]: Upgrade actions/checkout to v5 and disable credential persistence in workflows
1 parent aecbbd9 commit ff1dcc5

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

‎.github/workflows/Action-Test.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
steps:
3030
# Need to check out as part of the test, as its a local action
3131
- name: Checkout repo
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
33+
with:
34+
persist-credentials: false
3335

3436
- name: Action-Test
3537
uses: ./

‎.github/workflows/Auto-Release.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
Auto-Release:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- name: Checkout Code
29-
uses: actions/checkout@v4
28+
- name: Checkout repo
29+
uses: actions/checkout@v5
30+
with:
31+
persist-credentials: false
3032

3133
- name: Auto-Release
3234
uses: PSModule/Auto-Release@v1

‎.github/workflows/Linter.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout repo
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323
with:
24+
persist-credentials: false
2425
fetch-depth: 0
2526

2627
- name: Lint code base

0 commit comments

Comments
 (0)