Skip to content

Find inactive collaborators #6

Find inactive collaborators

Find inactive collaborators #6

name: Find inactive collaborators
on:
schedule:
# Run every Monday at 4:05 AM UTC.
- cron: 5 4 * * 1
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@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.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);