Close Stale Issues and Pull Requests #100
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 Pull Requests' | |
on: | |
schedule: | |
- cron: "45 0 * * *" # every day at 00:45 UTC | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
stale-issue-message: > | |
This issue has been automatically marked as stale because | |
it has not had recent activity. It will be closed in 7 days if | |
no further activity occurs. Thank you for your contributions. | |
stale-pr-message: > | |
This pull request has been automatically marked as stale because | |
it has not had recent activity. It could be closed if no further | |
activity occurs. Thank you for your contributions. | |
days-before-stale: 30 | |
days-before-close: 7 | |
days-before-pr-close: -1 | |
exempt-all-pr-milestones: true | |
exempt-issue-labels: 'area:grafana, area:tesla api, enhancement, kind:bug, kind:documentation, kind:idea, note:needs investigation, security, pinned' | |
exempt-pr-labels: 'awaiting-approval, area:grafana, area:tesla api, enhancement, kind:bug, kind:documentation, kind:idea, note:needs investigation, security, pinned' |