Skip to content

Commit 0174005

Browse files
committed
chore: setup dependabot for upgrading github actions
1 parent 89f2c23 commit 0174005

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/dependabot.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Basic dependabot.yml file with
2+
# https://docs.github.com/en/github/administering-a-repository/enabling-and-disabling-version-updates#example-dependabotyml-file
3+
4+
version: 2
5+
updates:
6+
- package-ecosystem: "github-actions"
7+
directory: "/"
8+
schedule:
9+
interval: "monthly"
10+
timezone: "Asia/Hong_Kong"
11+
target-branch: "develop"
12+
commit-message:
13+
prefix: "ci"
14+
rebase-strategy: "auto"

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repo
12-
uses: actions/checkout@main
12+
uses: actions/checkout@v3
1313
- name: Setup Node.js version
14-
uses: actions/setup-node@main
14+
uses: actions/setup-node@v3
1515
with:
16-
node-version: 14.x
16+
node-version-file: '.nvmrc'
1717
- name: Generate release body
1818
run: |
1919
npx rexreplace "(#+ \[\d+\.\d+\.\d+].*?)#+ \[?\d+\.\d+\.\d+]?" "_" -s -M -G -m -o "CHANGELOG.md" > RELEASE_BODY.md

0 commit comments

Comments
 (0)