From edc5791b5a8346d108e5592d67faf6b24244bf97 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 9 Jul 2021 19:27:29 -0700 Subject: [PATCH] tools: add GitHub Action to run find-inactive-collaborators.mjs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a GitHub Action for find-inactive-collaborators.mjs that will run it and list collaborators who have been inactive for more than a year. It will run when manually triggered by a collaborator and on a schedule of once a month. PR-URL: https://github.com/nodejs/node/pull/39335 Reviewed-By: Tobias Nießen Reviewed-By: James M Snell --- .../workflows/find-inactive-collaborators.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/find-inactive-collaborators.yml diff --git a/.github/workflows/find-inactive-collaborators.yml b/.github/workflows/find-inactive-collaborators.yml new file mode 100644 index 00000000000000..8e459b5b8b2942 --- /dev/null +++ b/.github/workflows/find-inactive-collaborators.yml @@ -0,0 +1,17 @@ +name: Find inactive collaborators + +on: + schedule: + # Run on the 15th day of the month at 4:05 AM UTC. + - cron: '5 4 15 * *' + + workflow_dispatch: + +jobs: + find: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - run: tools/find-inactive-collaborators.mjs '1 year ago'