Skip to content

Commit 3177839

Browse files
committed
feat(membership): add inactive member detection
1 parent 43bc15c commit 3177839

3 files changed

Lines changed: 540 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Linters
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * *'
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
cull-inactive-members:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
16+
with:
17+
persist-credentials: false
18+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
19+
with:
20+
# This token needs read:org and public_repo scopes to check team membership and repo activity.
21+
github-token: ${{ secrets.GH_USER_TOKEN }}
22+
script: |
23+
const { default: run } = await import('../tools/get-inactive-members.mjs');
24+
await run({ github, context, core });

request-an-access-token.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Repo | Secret name | Expirati
5252
[`nodejs-private/security-release`][] | `SECURITY_WG_GITHUB_TOKEN` | 2027-01-30 | <https://github.com/nodejs/admin/pull/950> |
5353
[`nodejs/require-in-the-middle`][] | `RELEASE_PLEASE_GITHUB_TOKEN` | 2027-01-30 | <https://github.com/nodejs/admin/pull/951> |
5454
[`nodejs/orchestrion-js`][] | `RELEASE_PLEASE_GITHUB_TOKEN` | 2026-11-08 | <https://github.com/nodejs/admin/pull/1023> |
55+
[`nodejs/admin`][] | `GH_USER_TOKEN` | | <https://github.com/nodejs/admin/pull/1061> |
5556

5657
[`@nodejs-github-bot`]: https://github.com/nodejs-github-bot
5758
[`nodejs-private/security-release`]: https://github.com/nodejs-private/security-release
@@ -63,3 +64,4 @@ Repo | Secret name | Expirati
6364
[`nodejs/require-in-the-middle`]: https://github.com/nodejs/require-in-the-middle
6465
[`nodejs/wasm-builder`]: https://github.com/nodejs/wasm-builder
6566
[`nodejs/doc-kit`]: https://github.com/nodejs/doc-kit
67+
[`nodejs/admin`][]: https://github.com/nodejs/admin

0 commit comments

Comments
 (0)