From 99af21292f4e73ce1b0de731c0fecccae3e5d27e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 5 Sep 2021 06:04:41 -0700 Subject: [PATCH] tools,build: update YAML files in preparation for linting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix indentation, traiiling spaces, and missing newline issues in preparation for linting. PR-URL: https://github.com/nodejs/node/pull/40007 Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau --- .github/workflows/comment-labeled.yml | 2 +- .github/workflows/coverage-linux.yml | 2 +- .../workflows/find-inactive-collaborators.yml | 2 +- .github/workflows/notify-force-push.yml | 24 +++++++++---------- test/.eslintrc.yaml | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/comment-labeled.yml b/.github/workflows/comment-labeled.yml index 14e48ea8dd37ca..c2c700c38b8ca1 100644 --- a/.github/workflows/comment-labeled.yml +++ b/.github/workflows/comment-labeled.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Post stalled comment env: - COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }} + COMMENTS_URL: ${{ github.event.issue.comments_url || github.event.pull_request.comments_url }} run: | curl -X POST $COMMENTS_URL \ -H "Content-Type: application/json" \ diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml index 2ee6c8b5f19b77..59a758ebdfc6a0 100644 --- a/.github/workflows/coverage-linux.yml +++ b/.github/workflows/coverage-linux.yml @@ -45,7 +45,7 @@ jobs: - name: Report JS run: npx c8 report --check-coverage env: - NODE_OPTIONS: --max-old-space-size=8192 + NODE_OPTIONS: --max-old-space-size=8192 - name: Report C++ run: cd out && gcovr --gcov-exclude='.*\b(deps|usr|out|obj|cctest|embedding)\b' -v -r Release/obj.target --xml -o ../coverage/coverage-cxx.xml --root=$(cd ../ && pwd) # Clean temporary output from gcov and c8, so that it's not uploaded: diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index f4dfc964ccd2f3..ca582839fc8b7d 100644 --- a/.github/workflows/find-inactive-collaborators.yml +++ b/.github/workflows/find-inactive-collaborators.yml @@ -13,7 +13,7 @@ env: jobs: find: - + runs-on: ubuntu-latest steps: diff --git a/.github/workflows/notify-force-push.yml b/.github/workflows/notify-force-push.yml index e3bdc0353c60fb..9c2fc3a6a4e64d 100644 --- a/.github/workflows/notify-force-push.yml +++ b/.github/workflows/notify-force-push.yml @@ -11,16 +11,16 @@ jobs: if: ${{ github.event.forced && github.repository == 'nodejs/node' }} runs-on: ubuntu-latest steps: - - name: Slack Notification - uses: rtCamp/action-slack-notify@master - env: - SLACK_COLOR: '#DE512A' - SLACK_ICON: https://github.com/nodejs.png?size=48 - SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}' - SLACK_MESSAGE: | - A commit was force-pushed to by + - name: Slack Notification + uses: rtCamp/action-slack-notify@master + env: + SLACK_COLOR: '#DE512A' + SLACK_ICON: https://github.com/nodejs.png?size=48 + SLACK_TITLE: '${{ github.actor }} force-pushed to ${{ github.ref }}' + SLACK_MESSAGE: | + A commit was force-pushed to by - Before: - After: - SLACK_USERNAME: nodejs-bot - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} + Before: + After: + SLACK_USERNAME: nodejs-bot + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} diff --git a/test/.eslintrc.yaml b/test/.eslintrc.yaml index 6a0104f7ce17ca..50c51ae5010da3 100644 --- a/test/.eslintrc.yaml +++ b/test/.eslintrc.yaml @@ -8,7 +8,7 @@ rules: no-var: error prefer-const: error symbol-description: off - multiline-comment-style: ["error", "separate-lines"] + multiline-comment-style: ["error", "separate-lines"] no-restricted-syntax: # Config copied from .eslintrc.js