cicd: add stale bot #1
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: 'Make comments on stale issues and PRs' | ||
on: workflow_call | ||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
remove-stale-when-updated: true | ||
days-before-issue-stale: 90 | ||
stale-issue-label: stale | ||
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Please make a comment for triaging or closing the issue.' | ||
days-before-pr-stale: 30 | ||
stale-pr-label: stale | ||
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Please review this PR.' |