2020-09-25 08:40:01 +02:00
|
|
|
name: "Close stale issues"
|
|
|
|
on:
|
|
|
|
schedule:
|
2020-09-25 09:00:41 +02:00
|
|
|
- cron: "20 0 * * *"
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
debug-only:
|
|
|
|
description: 'In debug mod'
|
|
|
|
required: false
|
|
|
|
default: 'false'
|
2020-09-25 08:40:01 +02:00
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v3
|
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
2020-09-25 09:00:41 +02:00
|
|
|
stale-issue-message: 'Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.'
|
|
|
|
stale-pr-message: 'Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.'
|
|
|
|
stale-issue-label: 'lifecycle/stale'
|
2020-09-25 09:15:29 +02:00
|
|
|
exempt-issue-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
|
2020-09-25 09:00:41 +02:00
|
|
|
stale-pr-label: 'lifecycle/stale'
|
2020-09-25 09:15:29 +02:00
|
|
|
exempt-pr-labels: 'bug,doc,enhancement,future,proposal,question,testing,todo,easy,help wanted,assigned'
|
2020-09-25 09:00:41 +02:00
|
|
|
days-before-stale: 45
|
|
|
|
days-before-close: 10
|
|
|
|
debug-only: ${{ github.event.inputs.debug-only }}
|