| 1 |
name: close needs-information issues |
| 2 |
on: |
| 3 |
schedule: |
| 4 |
- cron: "30 1 * * *" |
| 5 |
workflow_dispatch: |
| 6 |
|
| 7 |
jobs: |
| 8 |
close-issues: |
| 9 |
runs-on: ubuntu-latest |
| 10 |
permissions: |
| 11 |
issues: write |
| 12 |
steps: |
| 13 |
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.1.0 |
| 14 |
with: |
| 15 |
debug-only: false |
| 16 |
days-before-issue-stale: 14 |
| 17 |
days-before-issue-close: 7 |
| 18 |
only-labels: "status: needs information" |
| 19 |
stale-issue-label: "stale" |
| 20 |
stale-issue-message: "This issue is stale because it has the `status: needs information` label and requested follow-up information was not provided for 14 days." |
| 21 |
close-issue-message: "This issue was closed because it has the `status: needs information` label and follow-up information has not been provided for 7 days since being marked as stale." |
| 22 |
days-before-pr-stale: -1 |
| 23 |
days-before-pr-close: -1 |