2024-08-16 15:12:34 +03:00
|
|
|
name: Close inactive issues
|
|
|
|
on:
|
2024-08-19 14:01:15 +03:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2024-08-16 15:12:34 +03:00
|
|
|
schedule:
|
|
|
|
- cron: "33 3 * * *"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
close-issues:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v5
|
|
|
|
with:
|
|
|
|
days-before-stale: 30
|
2024-08-19 14:01:15 +03:00
|
|
|
days-before-close: 30
|
2024-08-23 12:44:17 +03:00
|
|
|
operations-per-run: 90
|
|
|
|
exempt-all-milestones: true
|
|
|
|
exempt-assignees: true
|
2024-08-19 14:01:15 +03:00
|
|
|
exempt-issue-labels: "wip,pinned,help-wanted,blocker,feature"
|
|
|
|
exempt-pr-labels: "wip,pinned,help-wanted,blocker,feature"
|
2024-08-16 15:12:34 +03:00
|
|
|
stale-issue-label: "stale"
|
|
|
|
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
|
|
|
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
|
|
|
days-before-pr-stale: -1
|
|
|
|
days-before-pr-close: -1
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|