Skip to content

Commit 55df151

Browse files
committed
Update workflows and rename default branch to main
1 parent 9cb3900 commit 55df151

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
jobs:
1010
lint:
1111
name: Lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-node@v3
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
1616
with:
1717
node-version-file: "package.json"
1818
- run: npm ci
@@ -22,8 +22,8 @@ jobs:
2222
name: Test
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
26-
- uses: actions/setup-node@v3
25+
- uses: actions/checkout@v4
26+
- uses: actions/setup-node@v4
2727
with:
2828
node-version-file: "package.json"
2929
- run: npm ci

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88
name: a job for regression testing
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
submodules: true
14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version-file: "package.json"
1717
- name: configure git

.github/workflows/update-project-json.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Configure git user
1616
run: |
1717
git config user.name github-actions
1818
git config user.email [email protected]
1919
2020
- name: Setup Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version-file: "package.json"
2424

scripts/update-projects-json.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function createPullRequest() {
7878
...github.context.repo,
7979
title: `Update projects.json (${formattedDate})`,
8080
head: branchName,
81-
base: "master",
81+
base: "main",
8282
maintainer_can_modify: true,
8383
});
8484
}

0 commit comments

Comments
 (0)