Skip to content

Commit 732dddc

Browse files
authored
fix: update actions workflow versions (#439)
Closes #414
1 parent 7949ec3 commit 732dddc

16 files changed

+123
-123
lines changed

.github/actions/create-check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ runs:
1717
using: "composite"
1818
steps:
1919
- name: Get Workflow Job
20-
uses: actions/github-script@v6
20+
uses: actions/github-script@v7
2121
id: workflow
2222
env:
2323
JOB_NAME: "${{ inputs.name }}"

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
shell: bash
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Setup Git User
2323
run: |
2424
git config --global user.email "npm-cli+bot@github.com"
2525
git config --global user.name "npm CLI robot"
2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
id: node
2929
with:
3030
node-version: 22.x

.github/workflows/ci-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
shell: bash
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
ref: ${{ inputs.ref }}
3434
- name: Setup Git User
@@ -44,7 +44,7 @@ jobs:
4444
token: ${{ secrets.GITHUB_TOKEN }}
4545
sha: ${{ inputs.check-sha }}
4646
- name: Setup Node
47-
uses: actions/setup-node@v3
47+
uses: actions/setup-node@v4
4848
id: node
4949
with:
5050
node-version: 22.x
@@ -95,7 +95,7 @@ jobs:
9595
shell: ${{ matrix.platform.shell }}
9696
steps:
9797
- name: Checkout
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999
with:
100100
ref: ${{ inputs.ref }}
101101
- name: Setup Git User
@@ -111,7 +111,7 @@ jobs:
111111
token: ${{ secrets.GITHUB_TOKEN }}
112112
sha: ${{ inputs.check-sha }}
113113
- name: Setup Node
114-
uses: actions/setup-node@v3
114+
uses: actions/setup-node@v4
115115
id: node
116116
with:
117117
node-version: ${{ matrix.node-version }}

.github/workflows/ci-test-workspace.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
shell: bash
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
- name: Setup Git User
3131
run: |
3232
git config --global user.email "npm-cli+bot@github.com"
3333
git config --global user.name "npm CLI robot"
3434
- name: Setup Node
35-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3636
id: node
3737
with:
3838
node-version: 22.x
@@ -76,13 +76,13 @@ jobs:
7676
shell: ${{ matrix.platform.shell }}
7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
- name: Setup Git User
8181
run: |
8282
git config --global user.email "npm-cli+bot@github.com"
8383
git config --global user.name "npm CLI robot"
8484
- name: Setup Node
85-
uses: actions/setup-node@v3
85+
uses: actions/setup-node@v4
8686
id: node
8787
with:
8888
node-version: ${{ matrix.node-version }}

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
shell: bash
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
- name: Setup Git User
3131
run: |
3232
git config --global user.email "npm-cli+bot@github.com"
3333
git config --global user.name "npm CLI robot"
3434
- name: Setup Node
35-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3636
id: node
3737
with:
3838
node-version: 22.x
@@ -76,13 +76,13 @@ jobs:
7676
shell: ${{ matrix.platform.shell }}
7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
- name: Setup Git User
8181
run: |
8282
git config --global user.email "npm-cli+bot@github.com"
8383
git config --global user.name "npm CLI robot"
8484
- name: Setup Node
85-
uses: actions/setup-node@v3
85+
uses: actions/setup-node@v4
8686
id: node
8787
with:
8888
node-version: ${{ matrix.node-version }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
security-events: write
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Setup Git User
2828
run: |
2929
git config --global user.email "npm-cli+bot@github.com"

.github/workflows/post-dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
shell: bash
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ github.event.pull_request.head.ref }}
2323
- name: Setup Git User
2424
run: |
2525
git config --global user.email "npm-cli+bot@github.com"
2626
git config --global user.name "npm CLI robot"
2727
- name: Setup Node
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@v4
2929
id: node
3030
with:
3131
node-version: 22.x

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
shell: bash
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626
- name: Setup Git User
2727
run: |
2828
git config --global user.email "npm-cli+bot@github.com"
2929
git config --global user.name "npm CLI robot"
3030
- name: Setup Node
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
3232
id: node
3333
with:
3434
node-version: 22.x

.github/workflows/release-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ jobs:
3030
id-token: write
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
ref: ${{ fromJSON(inputs.releases)[0].tagName }}
3636
- name: Setup Git User
3737
run: |
3838
git config --global user.email "npm-cli+bot@github.com"
3939
git config --global user.name "npm CLI robot"
4040
- name: Setup Node
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@v4
4242
id: node
4343
with:
4444
node-version: 22.x

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ jobs:
3030
shell: bash
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
- name: Setup Git User
3535
run: |
3636
git config --global user.email "npm-cli+bot@github.com"
3737
git config --global user.name "npm CLI robot"
3838
- name: Setup Node
39-
uses: actions/setup-node@v3
39+
uses: actions/setup-node@v4
4040
id: node
4141
with:
4242
node-version: 22.x
@@ -54,7 +54,7 @@ jobs:
5454
run: npx --offline template-oss-release-please --branch="${{ github.ref_name }}" --backport="" --defaultTag="latest"
5555
- name: Create Release Manager Comment Text
5656
if: steps.release.outputs.pr-number
57-
uses: actions/github-script@v6
57+
uses: actions/github-script@v7
5858
id: comment-text
5959
with:
6060
result-encoding: string
@@ -107,7 +107,7 @@ jobs:
107107
shell: bash
108108
steps:
109109
- name: Checkout
110-
uses: actions/checkout@v3
110+
uses: actions/checkout@v4
111111
with:
112112
fetch-depth: 0
113113
ref: ${{ needs.release.outputs.pr-branch }}
@@ -116,7 +116,7 @@ jobs:
116116
git config --global user.email "npm-cli+bot@github.com"
117117
git config --global user.name "npm CLI robot"
118118
- name: Setup Node
119-
uses: actions/setup-node@v3
119+
uses: actions/setup-node@v4
120120
id: node
121121
with:
122122
node-version: 22.x
@@ -215,7 +215,7 @@ jobs:
215215
steps:
216216
- name: Create Release PR Comment Text
217217
id: comment-text
218-
uses: actions/github-script@v6
218+
uses: actions/github-script@v7
219219
env:
220220
RELEASES: ${{ needs.release.outputs.releases }}
221221
with:
@@ -280,7 +280,7 @@ jobs:
280280
- name: Create Release PR Comment Text
281281
id: comment-text
282282
if: steps.found-comment.outputs.comment-id
283-
uses: actions/github-script@v6
283+
uses: actions/github-script@v7
284284
env:
285285
RESULT: ${{ steps.conclusion.outputs.result }}
286286
BODY: ${{ steps.found-comment.outputs.comment-body }}

0 commit comments

Comments
 (0)