2021-07-10 10:27:29 +08:00
|
|
|
name: Find inactive collaborators
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2021-11-21 23:10:04 +08:00
|
|
|
# Run every Monday at 4:05 AM UTC.
|
2022-01-30 04:31:01 +08:00
|
|
|
- cron: 5 4 * * 1
|
2021-07-10 10:27:29 +08:00
|
|
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
2021-07-13 00:22:27 +08:00
|
|
|
env:
|
2021-11-21 23:10:04 +08:00
|
|
|
NODE_VERSION: lts/*
|
2021-07-13 00:22:27 +08:00
|
|
|
|
2021-07-10 10:27:29 +08:00
|
|
|
jobs:
|
|
|
|
find:
|
2021-10-15 14:27:27 +08:00
|
|
|
if: github.repository == 'nodejs/node'
|
2021-07-10 10:27:29 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-07-12 14:18:43 +08:00
|
|
|
- uses: actions/checkout@v2
|
2021-07-13 00:22:27 +08:00
|
|
|
with:
|
2021-12-13 13:43:10 +08:00
|
|
|
fetch-depth: 0
|
2021-11-28 06:12:26 +08:00
|
|
|
persist-credentials: false
|
2021-07-13 00:22:27 +08:00
|
|
|
|
|
|
|
- name: Use Node.js ${{ env.NODE_VERSION }}
|
2021-07-12 14:18:43 +08:00
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
2021-07-13 00:22:27 +08:00
|
|
|
node-version: ${{ env.NODE_VERSION }}
|
2021-07-12 14:18:43 +08:00
|
|
|
|
|
|
|
- name: Find inactive collaborators
|
2021-12-13 13:43:10 +08:00
|
|
|
run: tools/find-inactive-collaborators.mjs
|
2021-08-21 10:03:24 +08:00
|
|
|
|
|
|
|
- name: Open pull request
|
|
|
|
uses: gr2m/create-or-update-pull-request-action@v1
|
|
|
|
env:
|
2021-08-27 12:01:51 +08:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
2021-08-21 10:03:24 +08:00
|
|
|
with:
|
2021-08-27 12:01:51 +08:00
|
|
|
author: Node.js GitHub Bot <github-bot@iojs.org>
|
2021-10-18 12:30:28 +08:00
|
|
|
branch: actions/inactive-collaborators
|
2021-08-21 10:03:24 +08:00
|
|
|
body: This PR was generated by tools/find-inactive-collaborators.yml.
|
2022-01-30 04:31:01 +08:00
|
|
|
commit-message: 'meta: move one or more collaborators to emeritus'
|
2021-08-21 10:03:24 +08:00
|
|
|
labels: meta
|
2022-01-30 04:31:01 +08:00
|
|
|
title: 'meta: move one or more collaborators to emeritus'
|