ci: Copy settings from tools #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Close stale issues and stale PRs" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * 7" # Once a week | ||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
enable-statistics: true | ||
debug-only: true | ||
stale-issue-message: "This issue is stale because it has been inactive for more than 30 days. More information is required. Remove stale label or comment or this will be closed in 20 days." | ||
stale-pr-message: "This PR is stale because it has been open more than 45 days with no activity. Remove stale label or comment if it is still useful. In any case a PR will be automatically closed." | ||
close-issue-message: "This issue was closed because it has been stalled for 20 days with no activity." | ||
days-before-stale: 30 | ||
days-before-close: 20 | ||
days-before-pr-close: -1 | ||
any-of-labels: "awaiting-changes,awaiting-feedback" | ||
exempt-issue-labels: "WIP" | ||
exempt-pr-labels: "WIP" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |