29 lines
870 B
YAML
29 lines
870 B
YAML
name: Stale
|
|
on:
|
|
schedule:
|
|
- cron: '35 9 * * *'
|
|
|
|
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 120 days with no activity."
|
|
close-issue-message: "This issue was closed because it has been inactive for 30 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
|
|
days-before-issue-stale: 120
|
|
days-before-issue-close: 30
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|