Skip to content

Commit

Permalink
tools: add GitHub Action to run find-inactive-collaborators.mjs
Browse files Browse the repository at this point in the history
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: #39335
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and targos committed Jul 13, 2021
1 parent 1068182 commit f338fdd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/find-inactive-collaborators.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit f338fdd

Please sign in to comment.