diff options
author | Rich Trott <rtrott@gmail.com> | 2021-08-20 19:03:24 -0700 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-09-04 15:14:57 +0200 |
commit | 55493f2011d5e6e1189f5d1d3b1fc350c554a643 (patch) | |
tree | 958fb1b09ef49a742370ddd065b5787034fed3ce | |
parent | 417a3ac474a696134b60e215b8830282d623574c (diff) | |
download | node-new-55493f2011d5e6e1189f5d1d3b1fc350c554a643.tar.gz |
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>
-rw-r--r-- | .github/workflows/find-inactive-collaborators.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml index 45b3a8cebc..fbb392d2e5 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" |