Skip to content

Commit c707881

Browse files
committed
build: improve consistency between workflows
1 parent 49b8c4f commit c707881

16 files changed

+26
-39
lines changed

.github/workflows/authors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "authors update"
1+
name: Authors update
22
on:
33
schedule:
44
# Run once a week at 00:05 AM UTC on Sunday.

.github/workflows/build-tarball.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ on:
2121
- 'doc/**'
2222

2323
env:
24+
PYTHON_VERSION: '3.10'
2425
FLAKY_TESTS: dontcare
2526

2627
jobs:
2728
build-tarball:
2829
if: github.event.pull_request.draft == false
29-
env:
30-
PYTHON_VERSION: '3.10'
3130
runs-on: ubuntu-latest
3231
steps:
3332
- uses: actions/checkout@v2
@@ -51,8 +50,6 @@ jobs:
5150
name: tarballs
5251
path: tarballs
5352
test-tarball-linux:
54-
env:
55-
PYTHON_VERSION: '3.10'
5653
needs: build-tarball
5754
runs-on: ubuntu-latest
5855
steps:

.github/workflows/build-windows.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
name: build-windows
1+
name: Build Windows
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- "README.md"
5+
paths-ignore: [README.md]
76
types: [opened, synchronize, reopened, ready_for_review]
87
push:
98
branches:
@@ -12,8 +11,7 @@ on:
1211
- canary
1312
- v[0-9]+.x-staging
1413
- v[0-9]+.x
15-
paths-ignore:
16-
- "README.md"
14+
paths-ignore: [README.md]
1715

1816
env:
1917
PYTHON_VERSION: '3.10'

.github/workflows/comment-labeled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [labeled]
77

88
jobs:
9-
staleComment:
9+
stale-comment:
1010
if: github.repository == 'nodejs/node' && github.event.label.name == 'stalled'
1111
runs-on: ubuntu-latest
1212
steps:
@@ -19,7 +19,7 @@ jobs:
1919
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
2020
--data '{ "body": "This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open." }'
2121
22-
fastTrack:
22+
fast-track:
2323
if: github.repository == 'nodejs/node' && github.event_name == 'pull_request_target' && github.event.label.name == 'fast-track'
2424
runs-on: ubuntu-latest
2525
steps:

.github/workflows/commit-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "First commit message adheres to guidelines at https://goo.gl/p2fr5Q"
1+
name: First commit message adheres to guidelines at https://goo.gl/p2fr5Q
22

33
on: [pull_request]
44

.github/workflows/coverage-linux.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: coverage-linux
1+
name: Coverage Linux
22

33
on:
44
pull_request:
@@ -9,9 +9,7 @@ on:
99
- 'deps/**'
1010
- 'doc/**'
1111
push:
12-
branches:
13-
- master
14-
- main
12+
branches: [master, main]
1513
paths-ignore:
1614
- '**.md'
1715
- 'benchmark/**'

.github/workflows/coverage-windows.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: coverage-windows
1+
name: Coverage Windows
22

33
on:
44
pull_request:
@@ -10,9 +10,7 @@ on:
1010
- 'doc/**'
1111
- 'tools/**'
1212
push:
13-
branches:
14-
- master
15-
- main
13+
branches: [master, main]
1614
paths-ignore:
1715
- '**.md'
1816
- 'benchmark/**'

.github/workflows/misc.yml renamed to .github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: misc
1+
name: Test and upload documentation to artifacts
22

33
on:
44
pull_request:

.github/workflows/license-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: license update
1+
name: License update
22
on:
33
schedule:
44
# 00:00:00 every Monday

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: linters
1+
name: Linters
22

33
on:
44
pull_request:

0 commit comments

Comments
 (0)