Skip to content

Commit

Permalink
Merge branch 'master' into create-or-update-pull-request-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Sep 29, 2021
2 parents 7466fdf + 5607de8 commit a22944d
Show file tree
Hide file tree
Showing 194 changed files with 33,203 additions and 60,778 deletions.
3 changes: 1 addition & 2 deletions .eslintignore
Expand Up @@ -4,8 +4,7 @@ test/addons/??_*
test/fixtures
test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md.mjs
tools/node-lint-md-cli-rollup/dist
tools/lint-md/lint-md.mjs
benchmark/tmp
doc/**/*.js
!.eslintrc.js
24 changes: 12 additions & 12 deletions .github/label-pr-config.yml
Expand Up @@ -103,9 +103,9 @@ subSystemLabels:
/^lib\/internal\/quic\/*/: quic, dont-land-on-v14.x, dont-land-on-v12.x

# All other lib/ files map directly
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
/^lib(\/internal)?\/(\w+)\.js?$/: $2 # other .js files
/^lib\/internal\/(\w+)(?:\/|$)/: $1 # internal subfolders
/^lib\/_(\w+)_\w+\.js?$/: $1 # e.g. _(stream)_wrap
/^lib(\/internal)?\/(\w+)\.js?$/: $2 # Other .js files
/^lib\/internal\/(\w+)(?:\/|$)/: $1 # internal subfolders

exlusiveLabels:
# more specific tests
Expand All @@ -125,26 +125,26 @@ exlusiveLabels:

/^test\//: test

# specific map for webcrypto.md as it should be labeled 'crypto'
# Specific map for webcrypto.md as it should be labeled 'crypto'
/^doc\/api\/webcrypto.md$/: doc, crypto
# specific map for modules.md as it should be labeled 'module' not 'modules'
# Specific map for modules.md as it should be labeled 'module' not 'modules'
/^doc\/api\/modules.md$/: doc, module
# node-api is treated separately since it is not a JS core module but is still
# considered a subsystem of sorts
# node-api is treated separately since it is not a JS core module but is still
# considered a subsystem of sorts
/^doc\/api\/n-api.md$/: doc, node-api
# quic
# quic
/^doc\/api\/quic.md$/: doc, quic, dont-land-on-v14.x, dont-land-on-v12.x
# add worker label to PRs that affect doc/api/worker_threads.md
# Add worker label to PRs that affect doc/api/worker_threads.md
/^doc\/api\/worker_threads.md$/: doc, worker
# automatically tag JS subsystem-specific API doc changes
# Automatically tag JS subsystem-specific API doc changes
/^doc\/api\/(\w+)\.md$/: doc, $1
# add deprecations label to PRs that affect doc/api/deprecations.md
# Add deprecations label to PRs that affect doc/api/deprecations.md
/^doc\/api\/deprecations.md$/: doc, deprecations
/^doc\/changelogs\//: release

/^doc\//: doc

# more specific benchmarks
# More specific benchmarks
/^benchmark\/buffers\//: benchmark, buffer
/^benchmark\/(?:arrays|es)\//: benchmark, v8 engine
/^benchmark\/_http/: benchmark, http
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/authors.yml
Expand Up @@ -8,19 +8,20 @@ on:

jobs:
authors_update:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0' # this is required to actually get all the authors
- run: "tools/update-authors.js" # run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@v1 # create a PR or update the Action's existing PR
fetch-depth: '0' # This is required to actually get all the authors
- run: "tools/update-authors.js" # Run the AUTHORS tool
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
with:
author: Node.js GitHub Bot <github-bot@iojs.org>
body: "If this PR exists, there's presumably new additions to the AUTHORS file. This is an automatically generated PR by the `authors.yml` GitHub Action, which runs `tools/update-authors.js` and submits a new PR or updates an existing PR.\n\nPlease note that there might be duplicate entries. If there are, please remove them and add the duplicate emails to .mailmap directly to this PR."
branch: "actions/authors-update" # custom branch *just* for this Action.
branch: "actions/authors-update" # Custom branch *just* for this Action.
commit-message: "meta: update AUTHORS"
labels: meta
title: "meta: update AUTHORS"
1 change: 0 additions & 1 deletion .github/workflows/auto-start-ci.yml
@@ -1,4 +1,3 @@
---
name: Auto Start CI

on:
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/close-stalled.yml
@@ -1,26 +1,26 @@
name: Close stalled issues and PRs
on:
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * *"

jobs:
stale:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
stale-pr-label: stalled
stale-issue-label: stalled
close-issue-message: Closing this because it has stalled. Feel free to reopen if this issue is still relevant, or to ping the collaborator who labelled it stalled if you have any questions.
close-pr-message: Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions.
# used to filter issues to check whether or not should be closed, avoids hitting maximum operations allowed if needing to paginate through all open issues
only-labels: stalled
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 500
# deactivates automatic removal of stalled label if issue gets any activity
remove-stale-when-updated: false
# deactivates automatic stale labelling as we prefer to do that manually
days-before-stale: -1
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 30
stale-pr-label: stalled
stale-issue-label: stalled
close-issue-message: Closing this because it has stalled. Feel free to reopen if this issue is still relevant, or to ping the collaborator who labelled it stalled if you have any questions.
close-pr-message: Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions.
# used to filter issues to check whether or not should be closed, avoids hitting maximum operations allowed if needing to paginate through all open issues
only-labels: stalled
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 500
# deactivates automatic removal of stalled label if issue gets any activity
remove-stale-when-updated: false
# deactivates automatic stale labelling as we prefer to do that manually
days-before-stale: -1
1 change: 0 additions & 1 deletion .github/workflows/commit-queue.yml
@@ -1,4 +1,3 @@
---
# This action requires the following secrets to be set on the repository:
# GH_USER_NAME: GitHub user whose Jenkins and GitHub token are defined below
# GH_USER_TOKEN: GitHub user token, to be used by ncu and to push changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/license-builder.yml
Expand Up @@ -12,8 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: "./tools/license-builder.sh" # run the license builder tool
- uses: gr2m/create-or-update-pull-request-action@v1.x # create a PR or update the Action's existing PR
- run: "./tools/license-builder.sh" # Run the license builder tool
- uses: gr2m/create-or-update-pull-request-action@v1.x # Create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Get release version numbers
if: ${{ github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
id: get-released-versions
run: ./tools/node-lint-md-cli-rollup/src/list-released-versions-from-changelogs.mjs
run: ./tools/lint-md/list-released-versions-from-changelogs.mjs
- name: Lint docs
run: |
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-internet.yml
Expand Up @@ -5,10 +5,10 @@ on:
schedule:
- cron: 5 0 * * *

pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- test/internet/**
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- test/internet/**
push:
branches:
- master
Expand Down
4 changes: 4 additions & 0 deletions .mailmap
Expand Up @@ -153,6 +153,7 @@ garygsc <garygsc@gmail.com> <GaryGSC@users.noreply.github.com>
Geoffrey Booth <webadmin@geoffreybooth.com> <GeoffreyBooth@users.noreply.github.com>
Geoffrey Booth <webadmin@geoffreybooth.com> <webmaster@geoffreybooth.com>
Geoffrey Bugaisky <gbugaisk@gmail.com>
George Adams <gadams@microsoft.com> <george.adams@uk.ibm.com>
Gerhard Stöbich <deb2001-github@yahoo.de>
Gibson Fahnestock <gibfahn@gmail.com> <gib@uk.ibm.com>
Gil Pedersen <git@gpost.dk> <github@gpost.dk>
Expand Down Expand Up @@ -246,8 +247,11 @@ Kiyoshi Nomo <tokyoincidents.g@gmail.com>
Koichi Kobayashi <koichik@improvement.jp>
Kostiantyn Wandalen <wandalen.me@gmail.com>
Kris Kowal <kris.kowal@cixar.com>
Kunal Pathak <Kunal.Pathak@microsoft.com> <kpathak@microsoft.com>
Kyle Robinson Young <kyle@dontkry.com>
Lakshmi Swetha Gopireddy <lakshmiswethagopireddy@gmail.com> <lakshmigopireddy@in.ibm.com>
Lakshmi Swetha Gopireddy <lakshmiswethagopireddy@gmail.com> <lgopired@in.ibm.com>
Lars-Magnus Skog <ralphtheninja@riseup.net> <lars.magnus.skog@gmail.com>
Leeseean Chiu <leeseean@qq.com>
Lucas Pardue <lucaspardue.24.7@gmail.com> <lucas.pardue@bbc.co.uk>
Luke Bayes <lbayes@patternpark.com>
Expand Down
9 changes: 8 additions & 1 deletion .yamllint.yaml
@@ -1,8 +1,15 @@
extends: relaxed
extends: default

rules:
document-start:
present: false
line-length: disable
truthy:
allowed-values: ['true', 'false', 'on', 'off']

ignore: |
/deps/
node_modules/
/test/fixtures/wpt/
/tools/gyp/
/tools/pip/
10 changes: 5 additions & 5 deletions AUTHORS
Expand Up @@ -419,7 +419,7 @@ Arianit Uka <arianit@bigvikinggames.com>
Andrei Sedoi <bsnote@gmail.com>
Eugene Girshov <eugene.girshov@nixu.com>
Evan Oxfeld <eoxfeld@nearinfinity.com>
Lars-Magnus Skog <lars.magnus.skog@gmail.com>
Lars-Magnus Skog <ralphtheninja@riseup.net>
Raymond Feng <enjoyjava@gmail.com>
Aaron Cannon <cannona@fireantproductions.com>
Xidorn Quan <quanxunzhen@gmail.com>
Expand Down Expand Up @@ -1328,7 +1328,7 @@ Nate <nfoxley@stedwards.edu>
Chris Story <storytimesolutions@gmail.com>
Matthew Garrett <mjg59@coreos.com>
David Goussev <dgoussev@gmail.com>
George Adams <george.adams@uk.ibm.com>
George Adams <gadams@microsoft.com>
Benedikt Meurer <bmeurer@google.com>
Kai Cataldo <kaicataldo@gmail.com>
Victor Felder <victor@draft.li>
Expand Down Expand Up @@ -1600,7 +1600,6 @@ rockcoder23 <rockcoder23@gmail.com>
Anton Paras <anton@paras.nu>
Pratik Jain <pratik.jain0509@gmail.com>
Shivanth MP <fordearlinux@gmail.com>
Kunal Pathak <kpathak@microsoft.com>
erdun <494251936@qq.com>
Jiajie Hu <jiajie.hu@intel.com>
Matt Woicik <mattwoicik@gmail.com>
Expand Down Expand Up @@ -2297,7 +2296,6 @@ Yongsheng Zhang <zyszys98@gmail.com>
Neeraj Laad <neeraj.laad@uk.ibm.com>
Scott Van Gilder <svangilder@gmail.com>
Yaniv Friedensohn <yaniv.friedensohn@gmail.com>
Lars-Magnus Skog <ralphtheninja@riseup.net>
Lucas Woo <legendecas@gmail.com>
Troels Liebe Bentsen <troels@connectedcars.dk>
pranshuchittora <pranshuchittora17@gmail.com>
Expand Down Expand Up @@ -2644,7 +2642,6 @@ James Bunton <jbunton@atlassian.com>
Kevin Smith <Kevin.Smith@microsoft.com>
H1Gdev <h1g.z.ouroboros+github@gmail.com>
Julian Alimin <dmastag@yahoo.com>
Lakshmi Swetha Gopireddy <lakshmigopireddy@in.ibm.com>
Manusaporn Treerungroj <m.treerungroj@gmail.com>
Richard Chamberlain <richard_chamberlain@uk.ibm.com>
Daniel George Holz <dgholz@gmail.com>
Expand Down Expand Up @@ -3316,5 +3313,8 @@ Christian Boehlke <christian@boehlkes.de>
null <60427892+vierofernando@users.noreply.github.com>
Dominic Elm <elmdominic@gmx.net>
treysis <treysis@gmx.net>
shfshanyue <xianger94@gmail.com>
Nikita Galkin <nikita@galk.in>
vipul kumar <vipulkumar532532@gmil.com>

# Generated by tools/update-authors.js

0 comments on commit a22944d

Please sign in to comment.