Skip to content

Commit 61f6a47

Browse files
authored
Merge pull request #207 from yowainwright/update-actions
chore: update actions
2 parents 4bbf2bb + 710c00d commit 61f6a47

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

.github/workflows/codeql-analysis.yml

+29-29
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
# supported CodeQL languages.
1111
# ******** NOTE ********
1212

13-
name: "CodeQL"
13+
name: 'CodeQL'
1414

1515
on:
1616
push:
17-
branches: [ master ]
17+
branches: [master]
1818
pull_request:
1919
# The branches below must be a subset of the branches above
20-
branches: [ master ]
20+
branches: [master]
2121
schedule:
2222
- cron: '45 14 * * 4'
2323

@@ -29,40 +29,40 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
language: [ 'javascript' ]
32+
language: ['javascript']
3333
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3434
# Learn more...
3535
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
3636

3737
steps:
38-
- name: Checkout repository
39-
uses: actions/checkout@v2
38+
- name: Checkout repository
39+
uses: actions/checkout@v4
4040

41-
# Initializes the CodeQL tools for scanning.
42-
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v1
44-
with:
45-
languages: ${{ matrix.language }}
46-
# If you wish to specify custom queries, you can do so here or in a config file.
47-
# By default, queries listed here will override any specified in a config file.
48-
# Prefix the list here with "+" to use these queries and those in the config file.
49-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
41+
# Initializes the CodeQL tools for scanning.
42+
- name: Initialize CodeQL
43+
uses: github/codeql-action/init@v2
44+
with:
45+
languages: ${{ matrix.language }}
46+
# If you wish to specify custom queries, you can do so here or in a config file.
47+
# By default, queries listed here will override any specified in a config file.
48+
# Prefix the list here with "+" to use these queries and those in the config file.
49+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5050

51-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52-
# If this step fails, then you should remove it and run the build manually (see below)
53-
- name: Autobuild
54-
uses: github/codeql-action/autobuild@v1
51+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
52+
# If this step fails, then you should remove it and run the build manually (see below)
53+
- name: Autobuild
54+
uses: github/codeql-action/autobuild@v2
5555

56-
# ℹ️ Command-line programs to run using the OS shell.
57-
# 📚 https://git.io/JvXDl
56+
# ℹ️ Command-line programs to run using the OS shell.
57+
# 📚 https://git.io/JvXDl
5858

59-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
60-
# and modify them (or add more) to build your code if your project
61-
# uses a compiled language
59+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
60+
# and modify them (or add more) to build your code if your project
61+
# uses a compiled language
6262

63-
#- run: |
64-
# make bootstrap
65-
# make release
63+
#- run: |
64+
# make bootstrap
65+
# make release
6666

67-
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@v1
67+
- name: Perform CodeQL Analysis
68+
uses: github/codeql-action/analyze@v2

.github/workflows/node.js.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
node-version: [20.x]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm install -g pnpm

.github/workflows/update.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
node-version: [20.x]
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: pnpm/action-setup@v2.2.4
16+
- uses: actions/checkout@v4
17+
- uses: pnpm/action-setup@v4
1818
with:
1919
version: latest
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
cache: 'pnpm'
@@ -27,7 +27,7 @@ jobs:
2727
- run: pnpm run update
2828
- run: pnpm install --no-frozen-lockfile
2929
- name: Create Pull Request
30-
uses: peter-evans/create-pull-request@v4
30+
uses: peter-evans/create-pull-request@v6
3131
with:
3232
token: ${{ secrets.PR_CREATE_TOKEN }}
3333
commit-message: Update dependencies

0 commit comments

Comments
 (0)