Skip to content

Commit 8af4d31

Browse files
Mesteerybengl
authored andcommitted
build,tools: change the quotes in YAML
Remove useless quotes and use single quotes when needed. PR-URL: #41756 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tierney Cyren <[email protected]>
1 parent 8cf9181 commit 8af4d31

23 files changed

+148
-148
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "\U0001F41B Bug report"
1+
name: \U0001F41B Bug report
22
description: Create a report to help us improve
33
body:
44
- type: markdown

.github/ISSUE_TEMPLATE/2-feature-request.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "\U0001F680 Feature request"
1+
name: \U0001F680 Feature request
22
description: Suggest an idea for this project
3-
labels: ["feature request"]
3+
labels: [feature request]
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/3-api-ref-docs-problem.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: "\U0001F4D7 Open an issue regarding the Node.js API reference docs"
1+
name: \U0001F4D7 Open an issue regarding the Node.js API reference docs
22
description: Let us know about any problematic API reference documents
3-
labels: ["doc"]
3+
labels: [doc]
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Report a flaky test
22
description: Report a flaky test in our CI
3-
labels: ["flaky-test"]
3+
labels: [flaky-test]
44
body:
55
- type: markdown
66
attributes:

.github/workflows/authors.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Authors update
22
on:
33
schedule:
44
# Run once a week at 00:05 AM UTC on Sunday.
5-
- cron: '5 0 * * 0'
5+
- cron: 5 0 * * 0
66

77
workflow_dispatch:
88

@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
fetch-depth: '0' # This is required to actually get all the authors
1717
persist-credentials: false
18-
- run: "tools/update-authors.js" # Run the AUTHORS tool
18+
- run: tools/update-authors.js # Run the AUTHORS tool
1919
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
2020
env:
2121
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
@@ -25,7 +25,7 @@ jobs:
2525
Here are some new additions to the AUTHORS file.
2626
This is an automatically generated PR by the
2727
`authors.yml` GitHub Action, which runs `tools/update-authors.js`.
28-
branch: "actions/authors-update" # Custom branch *just* for this Action.
29-
commit-message: "meta: update AUTHORS"
28+
branch: actions/authors-update # Custom branch *just* for this Action.
29+
commit-message: 'meta: update AUTHORS'
3030
labels: meta
31-
title: "meta: update AUTHORS"
31+
title: 'meta: update AUTHORS'

.github/workflows/auto-start-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# optimistic, it can take longer to run.
77
# To understand why `schedule` is used instead of other events, refer to
88
# ./doc/contributing/commit-queue.md
9-
- cron: "*/5 * * * *"
9+
- cron: '*/5 * * * *'
1010

1111
env:
1212
NODE_VERSION: lts/*

.github/workflows/build-tarball.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- '.mailmap'
7+
- .mailmap
88
- '**.md'
9-
- 'AUTHORS'
10-
- 'doc/**'
9+
- AUTHORS
10+
- doc/**
1111
- .github/**
1212
- '!.github/workflows/build-tarball.yml'
1313
push:
@@ -17,10 +17,10 @@ on:
1717
- v[0-9]+.x-staging
1818
- v[0-9]+.x
1919
paths-ignore:
20-
- '.mailmap'
20+
- .mailmap
2121
- '**.md'
22-
- 'AUTHORS'
23-
- 'doc/**'
22+
- AUTHORS
23+
- doc/**
2424
- .github/**
2525
- '!.github/workflows/build-tarball.yml'
2626

.github/workflows/close-stalled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Close stalled issues and PRs
22
on:
33
schedule:
4-
- cron: "0 0 * * *"
4+
- cron: 0 0 * * *
55

66
env:
77
CLOSE_MESSAGE: >

.github/workflows/commit-queue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
# be read-only, and the Action won't have access to any other repository
1212
# secrets, which it needs to access Jenkins API.
1313
schedule:
14-
- cron: "*/5 * * * *"
14+
- cron: '*/5 * * * *'
1515

1616
env:
1717
NODE_VERSION: lts/*

.github/workflows/coverage-linux.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
77
- '**.md'
8-
- 'benchmark/**'
9-
- 'deps/**'
10-
- 'doc/**'
8+
- benchmark/**
9+
- deps/*
10+
- doc/**
1111
- .github/**
1212
- '!.github/workflows/coverage-linux.yml'
1313
push:
1414
branches: [master, main]
1515
paths-ignore:
1616
- '**.md'
17-
- 'benchmark/**'
18-
- 'deps/**'
19-
- 'doc/**'
17+
- benchmark/**
18+
- deps/**
19+
- doc/**
2020
- .github/**
2121
- '!.github/workflows/coverage-linux.yml'
2222

.github/workflows/coverage-windows.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
77
- '**.md'
8-
- 'benchmark/**'
9-
- 'deps/**'
10-
- 'doc/**'
11-
- 'tools/**'
8+
- benchmark/**
9+
- deps/**
10+
- doc/**
11+
- tools/**
1212
- .github/**
1313
- '!.github/workflows/coverage-windows.yml'
1414
push:
1515
branches: [master, main]
1616
paths-ignore:
1717
- '**.md'
18-
- 'benchmark/**'
19-
- 'deps/**'
20-
- 'doc/**'
21-
- 'tools/**'
18+
- benchmark/**
19+
- deps/**
20+
- doc/**
21+
- tools/**
2222
- .github/**
2323
- '!.github/workflows/coverage-windows.yml'
2424

.github/workflows/daily.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Node.js daily job
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: "0 0 * * *"
6+
- cron: 0 0 * * *
77

88
env:
99
NODE_VERSION: lts/*

.github/workflows/find-inactive-collaborators.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Find inactive collaborators
33
on:
44
schedule:
55
# Run every Monday at 4:05 AM UTC.
6-
- cron: '5 4 * * 1'
6+
- cron: 5 4 * * 1
77

88
workflow_dispatch:
99

@@ -37,6 +37,6 @@ jobs:
3737
author: Node.js GitHub Bot <[email protected]>
3838
branch: actions/inactive-collaborators
3939
body: This PR was generated by tools/find-inactive-collaborators.yml.
40-
commit-message: "meta: move one or more collaborators to emeritus"
40+
commit-message: 'meta: move one or more collaborators to emeritus'
4141
labels: meta
42-
title: "meta: move one or more collaborators to emeritus"
42+
title: 'meta: move one or more collaborators to emeritus'

.github/workflows/find-inactive-tsc.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Find inactive TSC members
33
on:
44
schedule:
55
# Run every Tuesday 12:05 AM UTC.
6-
- cron: '5 0 * * 2'
6+
- cron: 5 0 * * 2
77

88
workflow_dispatch:
99

@@ -51,6 +51,6 @@ jobs:
5151
@nodejs/tsc ${{ env.INACTIVE_TSC_HANDLES }}
5252
5353
${{ env.DETAILS_FOR_COMMIT_BODY }}
54-
commit-message: "meta: move one or more TSC members to emeritus"
54+
commit-message: 'meta: move one or more TSC members to emeritus'
5555
labels: meta
56-
title: "meta: move one or more TSC members to emeritus"
56+
title: 'meta: move one or more TSC members to emeritus'

.github/workflows/license-builder.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
schedule:
44
# 00:00:00 every Monday
55
# https://crontab.guru/#0_0_*_*_1
6-
- cron: "0 0 * * 1"
6+
- cron: 0 0 * * 1
77
workflow_dispatch:
88

99
jobs:
@@ -14,14 +14,14 @@ jobs:
1414
- uses: actions/checkout@v2
1515
with:
1616
persist-credentials: false
17-
- run: "./tools/license-builder.sh" # Run the license builder tool
17+
- run: ./tools/license-builder.sh # Run the license builder tool
1818
- uses: gr2m/[email protected] # Create a PR or update the Action's existing PR
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
with:
2222
author: Node.js GitHub Bot <[email protected]>
2323
branch: actions/license-builder
24-
title: "doc: run license-builder"
24+
title: 'doc: run license-builder'
2525
body: >
2626
License is likely out of date. This is an automatically generated PR by
2727
the `license-builder.yml` GitHub Action, which runs `license-builder.sh`

.github/workflows/linters.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
persist-credentials: false
139139
- uses: mszostok/[email protected]
140140
with:
141-
checks: "files,duppatterns"
141+
checks: files,duppatterns
142142
lint-pr-url:
143143
if: ${{ github.event.pull_request }}
144144
runs-on: ubuntu-latest

.github/workflows/notify-force-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
SLACK_COLOR: '#DE512A'
1818
SLACK_ICON: https://github.com/nodejs.png?size=48
19-
SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}'
19+
SLACK_TITLE: ${{ github.actor }} force-pushed to ${{ github.ref }}
2020
SLACK_MESSAGE: |
2121
A commit was force-pushed to <https://github.com/${{ github.repository }}/tree/${{ github.repository.default_branch }}|${{ github.repository }}@${{ github.repository.default_branch }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
2222

.github/workflows/test-asan.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- '.mailmap'
7+
- .mailmap
88
- '**.md'
9-
- 'AUTHORS'
10-
- 'doc/**'
9+
- AUTHORS
10+
- doc/**
1111
- .github/**
1212
- '!.github/workflows/test-asan.yml'
1313
push:
@@ -18,10 +18,10 @@ on:
1818
- v[0-9]+.x-staging
1919
- v[0-9]+.x
2020
paths-ignore:
21-
- '.mailmap'
21+
- .mailmap
2222
- '**.md'
23-
- 'AUTHORS'
24-
- 'doc/**'
23+
- AUTHORS
24+
- doc/**
2525
- .github/**
2626
- '!.github/workflows/test-asan.yml'
2727

.github/workflows/test-macos.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths-ignore:
7-
- '.mailmap'
7+
- .mailmap
88
- '**.md'
9-
- 'AUTHORS'
10-
- 'doc/**'
9+
- AUTHORS
10+
- doc/**
1111
- .github/**
1212
- '!.github/workflows/test-macos.yml'
1313
push:
@@ -18,10 +18,10 @@ on:
1818
- v[0-9]+.x-staging
1919
- v[0-9]+.x
2020
paths-ignore:
21-
- '.mailmap'
21+
- .mailmap
2222
- '**.md'
23-
- 'AUTHORS'
24-
- 'doc/**'
23+
- AUTHORS
24+
- doc/**
2525
- .github/**
2626
- '!.github/workflows/test-macos.yml'
2727

.github/workflows/tools.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Tools update
22
on:
33
schedule:
44
# Run once a week at 00:05 AM UTC on Saturday.
5-
- cron: '5 0 * * 6'
5+
- cron: 5 0 * * 6
66

77
workflow_dispatch:
88

@@ -23,7 +23,7 @@ jobs:
2323
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
2424
./update-eslint.sh
2525
fi
26-
- id: "lint-md-dependencies"
26+
- id: lint-md-dependencies
2727
run: |
2828
cd tools/lint-md
2929
npm ci
@@ -63,8 +63,8 @@ jobs:
6363
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
6464
with:
6565
author: Node.js GitHub Bot <[email protected]>
66-
body: "This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}."
67-
branch: "actions/tools-update-${{ matrix.id }}" # Custom branch *just* for this Action.
68-
commit-message: "tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}"
66+
body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}.
67+
branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action.
68+
commit-message: 'tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'
6969
labels: tools
70-
title: "tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}"
70+
title: 'tools: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}'

0 commit comments

Comments
 (0)