Skip to content

Label stale PRs and Issues #125

Label stale PRs and Issues

Label stale PRs and Issues #125

Workflow file for this run

name: 'Label stale PRs and Issues'
on:
schedule:
# Runs at 1:30 AM every day
- cron: '30 1 * * *'
workflow_dispatch: # Allows manual triggering
permissions:
actions: write
contents: read
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
days-before-stale: 60
days-before-close: -1
stale-pr-message: 'This pull request has been marked as stale due to 60 days of inactivity.'
stale-issue-message: 'This issue has been marked as stale due to 60 days of inactivity.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
operations-per-run: 100
# Enable statistics in the logs
enable-statistics: true