Skip to content

Commit f98311a

Browse files
Trotttargos
authored andcommitted
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: #39825 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d33f897 commit f98311a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/find-inactive-collaborators.yml

+11
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,14 @@ jobs:
2828

2929
- name: Find inactive collaborators
3030
run: tools/find-inactive-collaborators.mjs ${{ env.NUM_COMMITS }}
31+
32+
- name: Open pull request
33+
uses: gr2m/create-or-update-pull-request-action@v1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
38+
body: This PR was generated by tools/find-inactive-collaborators.yml.
39+
commit-message: "meta: move one or more collaborators to emeritus"
40+
labels: meta
41+
title: "meta: move one or more collaborators to emeritus"

0 commit comments

Comments
 (0)