Skip to content

Commit

Permalink
GitHub issue template polishing and stale issues action (#2833)
Browse files Browse the repository at this point in the history
* GitHub issue template polishing and stale issues action

* Addressing feedback on message test and a better label for the stale issues
  • Loading branch information
tishun committed Apr 25, 2024
1 parent b5ebb8c commit 6dc070a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ labels: 'type: waiting-for-triage'
#### Current Behavior

<!-- A clear and concise description of the behavior.-->
<!-- See https://stackoverflow.com/help/minimal-reproducible-example for details of what a good minimum reproducible example is -->

<details>
<summary>Stack trace</summary>
Expand Down
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/Help_us.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ contact_links:
url: https://github.com/lettuce-io/lettuce-core/discussions
about: Use GitHub discussions to discuss an enhancement proposal or if you have a question
- name: Questions
url: https://gitter.im/lettuce-io/Lobby
about: Please ask questions on Gitter or StackOverflow.
url: https://discord.gg/redis
about: Please ask questions on Discord or StackOverflow.
26 changes: 26 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *" # once a day at midnight

permissions: {}
jobs:
stale:
permissions:
issues: write # to close stale issues (actions/stale)
pull-requests: write # to close stale PRs (actions/stale)

runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 30 days this issue will be closed.'
stale-pr-message: 'Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.'
days-before-stale: 365
days-before-close: 30
stale-issue-label: "status: feedback-reminder"
stale-pr-label: "status: feedback-reminder"
operations-per-run: 10
remove-stale-when-updated: false
only-labels: "status: waiting-for-feedback"

0 comments on commit 6dc070a

Please sign in to comment.