Skip to content

Commit dd9043e

Browse files
committed
ci: improve GHA workflow files
1 parent 40fca23 commit dd9043e

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.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@v5
14+
- name: Git checkout
15+
uses: actions/checkout@v5
16+
with:
17+
persist-credentials: false
1518
- name: Setup Node.js
1619
uses: actions/setup-node@v6
1720
with:

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ jobs:
77
runs-on: ubuntu-24.04
88
steps:
99
# Checks-out the repository under $GITHUB_WORKSPACE.
10-
- uses: actions/checkout@v5
10+
- name: Git checkout
11+
uses: actions/checkout@v5
1112
with:
1213
fetch-depth: 0
14+
persist-credentials: false
1315
- name: Build Dockerfile
1416
run: docker build . -t plotly
1517
- name: Start Docker container

.github/workflows/node.js.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ jobs:
1212
node-version: [20.x, 22.x, 24.x]
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- name: Git checkout
16+
uses: actions/checkout@v5
17+
with:
18+
persist-credentials: false
1619
- name: Use Node.js ${{ matrix.node-version }}
1720
uses: actions/setup-node@v6
1821
with:

0 commit comments

Comments
 (0)