Skip to content

Triage Scheduled Tasks #132

Triage Scheduled Tasks

Triage Scheduled Tasks #132

# Place in .github/workflows/triage-scheduled-tasks.yml
name: Triage Scheduled Tasks
on:
workflow_dispatch:
issue_comment:
types: [created]
schedule:
- cron: '5 * * * *' # Hourly — no-response close + PR requirements check
- cron: '30 1 * * *' # Daily at 1:30 AM UTC — stale issues
- cron: '0 14 1 * *' # Monthly on the 1st at 2 PM UTC — pitch surfacing
jobs:
no-response:
if:
github.event_name == 'issue_comment' || github.event.schedule == '5 * * *
*'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-no-response-close.yml@main
permissions:
issues: write
pr-requirements:
if:
github.event_name == 'issue_comment' || github.event.schedule == '5 * * *
*'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-pr-requirements.yml@main
permissions:
issues: read
pull-requests: write
stale:
if: github.event.schedule == '30 1 * * *'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-stale-issues.yml@main
permissions:
issues: write
pitch-surface:
if:
github.event.schedule == '0 14 1 * *' || github.event_name ==
'workflow_dispatch'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/pitch-surface-top-issues.yml@main
with:
exclude_labels: 'skip-pitch'
permissions:
issues: write