maintainance #502
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: maintainance | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 1 * * *' | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v8 | |
name: stale-items | |
with: | |
stale-issue-message: 'stale-issue' | |
stale-pr-message: 'stale-pr' | |
close-issue-message: 'close-issue' | |
close-pr-message: 'close-pr' | |
days-before-issue-stale: 32 # if no progress for month, not sure we really doing it | |
days-before-pr-stale: 4 | |
days-before-issue-close: 4 | |
days-before-pr-close: 4 | |
days-before-stale: 16 # Idle number of days before marking issues/PRs stale | |
days-before-close: 4 # Idle number of days before closing stale issues/PRs | |
exempt-issue-labels: '' | |
stale-pr-label: 'stale-item' | |
exempt-pr-labels: '' | |
only-labels: '' | |
exempt-all-pr-milestones: false | |
exempt-issue-assignees: '' | |
exempt-pr-assignees: '' | |
exempt-all-pr-assignees: false | |
remove-stale-when-updated: true | |
- name: stale-branches | |
uses: crs-k/[email protected] | |
with: | |
days-before-stale: 16 | |
days-before-delete: 16 # avoid issue to hang in list too long | |
comment-updates: false | |
max-issues: 30 | |
tag-committer: false | |
stale-branch-label: 'stale-branch' | |
compare-branches: 'off' | |
branches-filter-regex: '^((?!dependabot))' |