This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
Auto Close Stale PR & Issues #1209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Auto Close Stale PR & Issues" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Run Stale action | |
uses: actions/stale@v6 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue won't be fixed & marked as invalid. Closed!" | |
stale-issue-label: "Status: Invalid, Status: Won't Fix" | |
exempt-issue-labels: "Status: Available, Status: Accepted, Status: On Hold, Type: Bug, Type: Question, Priority: Low" | |
stale-pr-message: "This PR was abandoned. Closing now." | |
stale-pr-label: "Status: Abandoned" | |
exempt-pr-labels: "Status: Available, Status: In Progress, Status: Review Needed, Status: On Hold, Priority: Low" | |
days-before-stale: 30 | |
days-before-close: 0 |