Skip to content

Maintainer Sweep

Maintainer Sweep #98

name: Maintainer Sweep
# Scheduled triage sweep: assigns open PRs/issues to maintainers, posts a
# one-time ack + pre-review checklist, and reconciles waiting-on labels.
# API-only — PR code is never checked out or executed (no pull_request_target).
on:
schedule:
- cron: '17 */3 * * *'
workflow_dispatch:
inputs:
dry_run:
description: 'Print planned actions without executing them'
type: boolean
default: true
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
permissions: {}
jobs:
sweep:
name: Sweep
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
issues: write
pull-requests: write
discussions: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Tools
uses: TanStack/config/.github/setup@190f659075ff0845850e330883eb26d7ffd0671f # main
- name: Run sweep
run: pnpm maintainer:sweep
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run && '1' || '' }}