Skip to content

Commit

Permalink
GitHub: set up action to close inactive issues
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Dec 16, 2024
1 parent e8cd54d commit 591fc3e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/close-no-response.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions

name: Close inactive issues
on:
schedule:
- cron: "19 1 * * *" # “At 01:19.”
workflow_dispatch: # To support running manually.

# Minimal access by default
permissions:
contents: read

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@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
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."

0 comments on commit 591fc3e

Please sign in to comment.