mirror of
https://github.com/Ircama/epson_print_conf.git
synced 2024-10-18 09:10:36 -04:00
27 lines
964 B
YAML
27 lines
964 B
YAML
|
name: Mark stale issues and automatically close them
|
||
|
|
||
|
on:
|
||
|
schedule:
|
||
|
- cron: '00 23 * * *'
|
||
|
|
||
|
jobs:
|
||
|
stale:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
permissions:
|
||
|
issues: write
|
||
|
pull-requests: write
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/stale@v4 # https://github.com/actions/stale
|
||
|
with:
|
||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
stale-issue-message: 'This issue becomed stale because of no feedback for 30 days. Remove the stale label or add a comment; otherwise, this will be automatically closed in 60 days.'
|
||
|
stale-pr-message: 'This PR becomed stale because of no feedback for 60 days.'
|
||
|
days-before-stale: 30
|
||
|
days-before-close: 60
|
||
|
close-issue-message: 'This issue was closed because it has been stalled for 60 days with no activity.'
|
||
|
days-before-pr-close: -1
|
||
|
any-of-labels: answered,needs-rebase,inactive,Awaiting-Response,question,invalid,duplicate,wontfix
|
||
|
exempt-all-pr-assignees: true
|