2023-02-13 07:58:08 +00:00
|
|
|
name: Close inactive issues
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "30 1 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
close-issues:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
2023-04-12 07:07:11 +00:00
|
|
|
- uses: actions/stale@v8.0.0
|
2023-02-13 07:58:08 +00:00
|
|
|
with:
|
2023-03-15 10:54:59 +00:00
|
|
|
days-before-issue-stale: 28
|
|
|
|
days-before-issue-close: 14
|
2023-02-13 07:58:08 +00:00
|
|
|
stale-issue-label: "stale"
|
2023-03-15 10:54:59 +00:00
|
|
|
stale-issue-message: "This issue is stale because it has been open for 4 weeks with no activity."
|
|
|
|
close-issue-message: "This issue was closed because it has been inactive for 2 weeks since being marked as stale."
|
2023-02-13 07:58:08 +00:00
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-pr-close: -1
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|