name: "Close inactive issues" on: schedule: - cron: "55 14 * * *" permissions: issues: write jobs: stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v5 with: debug-only: true repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-issue-stale: 30 days-before-issue-close: 7 stale-issue-label: "stale" stale-issue-message: "This issue has been open 30 days with no activity. This will be closed in 7 days." close-issue-message: "This issue has been automatically marked as stale because it hasn't had any recent activity." days-before-pr-stale: -1 days-before-pr-close: -1 exempt-issue-labels: bug,enhancement