Skip to content

Commit e1e720e

Browse files
committed
ci: improve GHA workflows + update actions/checkout to v5
1 parent 7e39a1c commit e1e720e

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/alpine.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
container: alpine:latest
99
steps:
10-
- uses: actions/checkout@v4
10+
- name: Checkout
11+
uses: actions/checkout@v5
12+
with:
13+
persist-credentials: false
1114
- name: Install Node.js + NPM
1215
run: |
1316
apk update

.github/workflows/audit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ jobs:
1111
runs-on: ubuntu-24.04
1212
name: Node.js package audit
1313
steps:
14-
- uses: actions/checkout@v4
14+
- name: Checkout
15+
uses: actions/checkout@v5
16+
with:
17+
persist-credentials: false
1518
- name: Setup Node.js
1619
uses: actions/setup-node@v4
1720
with:

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ jobs:
77
runs-on: ubuntu-24.04
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v4
10+
uses: actions/checkout@v5
1111
with:
1212
fetch-depth: 0
13+
persist-credentials: false
1314
- name: Build Dockerfile
1415
run: docker build . -t exportapp
1516
- name: Start Docker container

.github/workflows/node.js.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
matrix:
1111
node-version: [18, 20, 22, 24]
1212
steps:
13-
- uses: actions/checkout@v4
13+
- name: Checkout
14+
uses: actions/checkout@v5
15+
with:
16+
persist-credentials: false
1417
- name: Use Node.js ${{ matrix.node-version }}
1518
uses: actions/setup-node@v4
1619
with:

0 commit comments

Comments
 (0)