2023-05-12 02:14:50 +08:00
|
|
|
name: close needs-information issues
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "30 1 * * *"
|
2023-05-12 20:34:44 +08:00
|
|
|
workflow_dispatch:
|
2023-05-12 02:14:50 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
close-issues:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
steps:
|
2023-05-15 13:29:18 +08:00
|
|
|
- uses: actions/stale@v8
|
2023-05-12 02:14:50 +08:00
|
|
|
with:
|
2023-05-14 19:39:45 +08:00
|
|
|
debug-only: false
|
2023-05-12 02:14:50 +08:00
|
|
|
days-before-issue-stale: 14
|
|
|
|
days-before-issue-close: 7
|
2023-05-14 19:39:45 +08:00
|
|
|
only-labels: "status: needs information"
|
2023-05-12 02:14:50 +08:00
|
|
|
stale-issue-label: "stale"
|
|
|
|
stale-issue-message: "This issue is stale because it has been open for 14 days with no activity."
|
|
|
|
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
|
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-pr-close: -1
|