Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-08-21 05:03:24 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-08-25 07:22:25 +0300
commitcee024a87e5b229ddb26cee557359ac126bd2b83 (patch)
tree6472d1d4ba8a65430776cf751aabb7bbb43c7498 /.github
parent67f96dd85e3d885eee2f63a52846fd9a6ae6360a (diff)
tools: update workflow to open a pull request
Now that find-inactive-collaborators.mjs automates the README.md changes to move the inactive collaborators to the emeriti section, update the GitHub Actions workflow to open a pull request. PR-URL: https://github.com/nodejs/node/pull/39825 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/find-inactive-collaborators.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml
index 45b3a8cebcd..fbb392d2e53 100644
--- a/.github/workflows/find-inactive-collaborators.yml
+++ b/.github/workflows/find-inactive-collaborators.yml
@@ -28,3 +28,14 @@ jobs:
- name: Find inactive collaborators
run: tools/find-inactive-collaborators.mjs ${{ env.NUM_COMMITS }}
+
+ - name: Open pull request
+ uses: gr2m/create-or-update-pull-request-action@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
+ body: This PR was generated by tools/find-inactive-collaborators.yml.
+ commit-message: "meta: move one or more collaborators to emeritus"
+ labels: meta
+ title: "meta: move one or more collaborators to emeritus"