Skip to content

Find inactive collaborators #9

Find inactive collaborators

Find inactive collaborators #9

name: Find inactive collaborators
on:
schedule:
- cron: '0 0 1 * *' # Runs at 00:00 UTC on the 1st day of every month
workflow_dispatch:
permissions:
contents: read
issues: write
jobs:
find:
if: github.repository == 'nodejs/nodejs.org'
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Report inactive collaborators
id: inactive
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const { default: report } = await import("${{github.workspace}}/.github/scripts/report-inactive-collaborators.mjs");
report(github, context);