Skip to content

Commit 10f5fb6

Browse files
committed
various workflow updates
1 parent db2509a commit 10f5fb6

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
# Initializes the CodeQL tools for scanning.
3636
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v2
37+
uses: github/codeql-action/init@v3
3838
with:
3939
languages: ${{ matrix.language }}
4040
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -45,7 +45,7 @@ jobs:
4545
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4646
# If this step fails, then you should remove it and run the build manually (see below)
4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v2
48+
uses: github/codeql-action/autobuild@v3
4949

5050
# ℹ️ Command-line programs to run using the OS shell.
5151
# 📚 https://git.io/JvXDl
@@ -59,4 +59,4 @@ jobs:
5959
# make release
6060

6161
- name: Perform CodeQL Analysis
62-
uses: github/codeql-action/analyze@v2
62+
uses: github/codeql-action/analyze@v3

.github/workflows/dependabot-auto-merge.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,16 @@ jobs:
99
dependabot:
1010
runs-on: ubuntu-latest
1111
if: ${{ github.actor == 'dependabot[bot]' }}
12+
1213
steps:
1314
- name: Dependabot metadata
1415
id: metadata
1516
uses: dependabot/fetch-metadata@v1.6.0
1617
with:
1718
github-token: '${{ secrets.GITHUB_TOKEN }}'
1819

19-
- name: Auto-merge Dependabot PRs for semver-minor updates
20-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
21-
run: gh pr merge --auto --merge "$PR_URL"
22-
env:
23-
PR_URL: ${{github.event.pull_request.html_url}}
24-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25-
26-
- name: Auto-merge Dependabot PRs for semver-patch updates
27-
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
20+
- name: Auto-merge Dependabot PRs for semver-minor/patch updates
21+
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
2822
run: gh pr merge --auto --merge "$PR_URL"
2923
env:
3024
PR_URL: ${{github.event.pull_request.html_url}}

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
node-version: [16, 18]
17+
node-version: [18, 20]
1818

1919
steps:
2020
- name: Checkout repository

0 commit comments

Comments
 (0)