mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
tools: add find-inactive-tsc
Automate the implementation of rules in the TSC Charter around automatic removal of members who do not participate in TSC votes and attend fewer than 25% of the meetings in a 3-month period. PR-URL: https://github.com/nodejs/node/pull/40884 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
d97ad3080f
commit
878ba91bf6
4 files changed
+313
-5
No files matched your search
@@ -2,13 +2,13 @@ name: Find inactive collaborators
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run on the 15th day of the month at 4:05 AM UTC.
|
||||
- cron: '5 4 15 * *'
|
||||
# Run every Monday at 4:05 AM UTC.
|
||||
- cron: '5 4 * * 1'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
NODE_VERSION: 16.x
|
||||
NODE_VERSION: lts/*
|
||||
NUM_COMMITS: 5000
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
name: Find inactive TSC members
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run every Tuesday 12:05 AM UTC.
|
||||
- cron: '5 0 * * 2'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
jobs:
|
||||
find:
|
||||
if: github.repository == 'nodejs/node'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout the repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Clone nodejs/TSC repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
repository: nodejs/TSC
|
||||
path: .tmp
|
||||
|
||||
- name: Use Node.js ${{ env.NODE_VERSION }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
|
||||
- name: Find inactive TSC members
|
||||
run: tools/find-inactive-tsc.mjs
|
||||
|
||||
- name: Open pull request
|
||||
uses: gr2m/create-or-update-pull-request-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
||||
with:
|
||||
author: Node.js GitHub Bot <github-bot@iojs.org>
|
||||
branch: actions/inactive-tsc
|
||||
body: This PR was generated by tools/find-inactive-tsc.yml.
|
||||
commit-message: "meta: move one or more TSC members to emeritus"
|
||||
labels: meta
|
||||
title: "meta: move one or more TSC members to emeritus"
|
||||
Reference in new issue
Block a user