Skip to content

Commit e98d110

Browse files
committed
ci: tighten security of checkout action
1 parent cd27ff0 commit e98d110

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/add-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v6
2424
with:
2525
path: checkout
26+
persist-credentials: false
2627

2728
- name: Fetch package
2829
id: fetch

.github/workflows/build-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919

2020
steps:
2121
- name: ⬇ Checkout
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
23+
with:
24+
persist-credentials: false
2325

2426
- name: 🔑 Configure GPG key
2527
run: |

.github/workflows/check-for-new-camera-streamer-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ jobs:
7575
core.exportVariable("PACKAGE_URLS", packageUrls.join(" "));
7676
7777
- name: ⬇ Checkout
78-
uses: actions/checkout@v3
78+
uses: actions/checkout@v6
79+
with:
80+
persist-credentials: false
7981

8082
- name: 🤔 Check if package is already in repo
8183
id: check-package-exists

0 commit comments

Comments
 (0)