Skip to content

Commit 3be3f15

Browse files
committed
Upgrade all actions for github workflows
1 parent 81bfc91 commit 3be3f15

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@v4.1.2
99

1010
- name: Setup Node
11-
uses: actions/setup-node@v4
11+
uses: actions/setup-node@v4.0.2
1212
with:
1313
node-version: 20
1414

.github/workflows/command-block.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
comment:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v6
11+
- uses: actions/github-script@v7.0.1
1212
with:
1313
script: |
1414
github.rest.issues.createComment({
@@ -21,5 +21,3 @@ jobs:
2121
'- Else, please look for the command in the [source tree](https://github.com/nushell/nushell/tree/main/crates) and make your changes directly there.\n\n'+
2222
'Thanks for helping out!'
2323
})
24-
25-

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: ${{ github.event_name == 'push' }}
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v4.1.2
1515
with:
1616
ref: main
1717
fetch-depth: 0
1818

1919
- name: Setup Node
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@v4.0.2
2121
with:
2222
node-version: 20
2323

@@ -28,7 +28,7 @@ jobs:
2828
run: npm run build
2929

3030
- name: Upload Artifact
31-
uses: actions/upload-pages-artifact@v2
31+
uses: actions/upload-pages-artifact@v3.0.1
3232
with:
3333
path: ./.vuepress/dist
3434

@@ -46,4 +46,4 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@v2.0.4
49+
uses: actions/deploy-pages@v4.0.5

.github/workflows/image-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repo
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v4.1.2
1818
- name: Compress Images
1919
id: calibre
2020
uses: calibreapp/image-actions@main
@@ -30,7 +30,7 @@ jobs:
3030
githubToken: ${{ secrets.GITHUB_TOKEN }}
3131
- name: Create New Pull Request If Needed
3232
if: steps.calibre.outputs.markdown != ''
33-
uses: peter-evans/create-pull-request@v3
33+
uses: peter-evans/create-pull-request@v6.0.3
3434
with:
3535
title: Compressed Images
3636
branch-suffix: timestamp

.github/workflows/typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout Actions Repository
10-
uses: actions/checkout@v4
10+
uses: actions/checkout@v4.1.2
1111

1212
- name: Check spelling
1313
uses: crate-ci/typos@master

0 commit comments

Comments
 (0)