2023-01-16 12:30:10 +01:00
|
|
|
name: Stale
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-01-31 13:11:15 +01:00
|
|
|
- cron: '35 9 * * *'
|
2023-01-16 12:30:10 +01:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
# contents: write # only for delete-branch option
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v7
|
|
|
|
with:
|
|
|
|
stale-issue-message: "This issue is stale because it has been open for 90 days with no activity."
|
|
|
|
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
|
|
|
|
stale-issue-label: "stale"
|
|
|
|
operations-per-run: 60
|
|
|
|
exempt-all-milestones: true
|
|
|
|
exempt-issue-labels: 'dependencies,security'
|
|
|
|
exempt-all-assignees: true
|
|
|
|
exempt-draft-pr: true
|
2023-03-16 14:31:54 +01:00
|
|
|
days-before-issue-stale: 120
|
|
|
|
days-before-issue-close: 30
|
2023-01-16 12:30:10 +01:00
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-pr-close: -1
|