summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTierney Cyren <hello@bnb.im>2021-08-20 15:08:46 -0400
committerMichaƫl Zasso <targos@protonmail.com>2021-09-04 15:14:56 +0200
commit5e1cba81bf9caf217c37969e76f3ccb776f50948 (patch)
tree8c8678c4fbdbe8b9d6ccfdd4811b3e14f59c5b22
parent7b123ec78d4e0e0bb8dcf461aadb29f329c674be (diff)
downloadnode-new-5e1cba81bf9caf217c37969e76f3ccb776f50948.tar.gz
build: add authors.yml
PR-URL: https://github.com/nodejs/node/pull/35831 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
-rw-r--r--.github/workflows/authors.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml
new file mode 100644
index 0000000000..0d92eee523
--- /dev/null
+++ b/.github/workflows/authors.yml
@@ -0,0 +1,21 @@
+name: "authors update"
+on:
+ workflow_dispatch:
+
+jobs:
+ authors_update:
+ 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
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ title: "meta: update AUTHORS"
+ 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.
+ commit-message: "meta: update AUTHORS"
+ labels: meta