2023-03-16 18:51:32 +01:00
|
|
|
name: Find inactive TSC voting members
|
2021-11-21 16:10:04 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
# Run every Tuesday 12:05 AM UTC.
|
2022-01-29 21:31:01 +01:00
|
|
|
- cron: 5 0 * * 2
|
2021-11-21 16:10:04 +01:00
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
NODE_VERSION: lts/*
|
|
|
|
|
2022-07-12 23:50:46 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-11-21 16:10:04 +01:00
|
|
|
jobs:
|
|
|
|
find:
|
|
|
|
if: github.repository == 'nodejs/node'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout the repo
|
2024-07-03 20:21:27 +02:00
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2021-11-27 23:12:26 +01:00
|
|
|
with:
|
2022-01-13 16:08:44 +01:00
|
|
|
fetch-depth: 0
|
2021-11-27 23:12:26 +01:00
|
|
|
persist-credentials: false
|
2021-11-21 16:10:04 +01:00
|
|
|
|
|
|
|
- name: Clone nodejs/TSC repository
|
2024-07-03 20:21:27 +02:00
|
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2021-11-21 16:10:04 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
path: .tmp
|
2021-11-27 23:12:26 +01:00
|
|
|
persist-credentials: false
|
|
|
|
repository: nodejs/TSC
|
2021-11-21 16:10:04 +01:00
|
|
|
|
|
|
|
- name: Use Node.js ${{ env.NODE_VERSION }}
|
2024-08-06 07:44:12 +02:00
|
|
|
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
|
2021-11-21 16:10:04 +01:00
|
|
|
with:
|
|
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
|
|
|
2023-03-16 18:51:32 +01:00
|
|
|
- name: Find inactive TSC voting members
|
2021-11-24 19:33:04 +01:00
|
|
|
run: tools/find-inactive-tsc.mjs >> $GITHUB_ENV
|
2021-11-21 16:10:04 +01:00
|
|
|
|
|
|
|
- name: Open pull request
|
2023-01-13 09:55:46 +01:00
|
|
|
uses: gr2m/create-or-update-pull-request-action@77596e3166f328b24613f7082ab30bf2d93079d5
|
2022-06-05 21:45:18 +02:00
|
|
|
# Creates a PR or update the Action's existing PR, or
|
|
|
|
# no-op if the base branch is already up-to-date.
|
2021-11-21 16:10:04 +01:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
|
|
|
with:
|
|
|
|
author: Node.js GitHub Bot <github-bot@iojs.org>
|
|
|
|
branch: actions/inactive-tsc
|
2021-11-24 19:33:04 +01:00
|
|
|
body: |
|
|
|
|
This PR was generated by tools/find-inactive-tsc.yml.
|
|
|
|
|
|
|
|
@nodejs/tsc ${{ env.INACTIVE_TSC_HANDLES }}
|
|
|
|
|
|
|
|
${{ env.DETAILS_FOR_COMMIT_BODY }}
|
2023-03-16 18:51:32 +01:00
|
|
|
commit-message: 'meta: move TSC voting member(s) to regular member(s)'
|
2021-11-21 16:10:04 +01:00
|
|
|
labels: meta
|
2023-03-16 18:51:32 +01:00
|
|
|
title: 'meta: move TSC voting member(s) to regular member(s)'
|
2023-04-21 16:38:48 +02:00
|
|
|
update-pull-request-title-and-body: true
|