Close inactive issues #487
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: Close inactive issues | |
on: | |
schedule: | |
- cron: "15 1 * * *" # “At 01:15.” | |
workflow_dispatch: # To support running manually. | |
jobs: | |
close-issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
# https://github.com/marketplace/actions/close-stale-issues | |
- uses: actions/stale@v7 | |
with: | |
days-before-stale: -1 # Add the stale label manually. | |
days-before-close: 21 | |
only-labels: "more info required" | |
stale-issue-label: "more info required" | |
close-issue-message: "Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue." | |
close-pr-message: "Without additional information, we are unfortunately not sure how to address this pull request. Therefore this pull request has been automatically closed. Feel free to comment with additional details or submit a new pull request." |