From 30e4b16c6d7c0924e2632c9495b24fdb6abe0ca8 Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Fri, 19 Apr 2024 14:50:05 +0300 Subject: [PATCH 1/2] GitHub issue template polishing and stale issues action --- .github/ISSUE_TEMPLATE/Bug_report.md | 1 + .github/ISSUE_TEMPLATE/Help_us.md | 15 --------------- .github/ISSUE_TEMPLATE/config.yml | 4 ++-- .github/workflows/stale-issues.yml | 26 ++++++++++++++++++++++++++ 4 files changed, 29 insertions(+), 17 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/Help_us.md create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index 6f1e9aeb30..08bee3b85b 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -11,6 +11,7 @@ labels: 'type: waiting-for-triage' #### Current Behavior +
Stack trace diff --git a/.github/ISSUE_TEMPLATE/Help_us.md b/.github/ISSUE_TEMPLATE/Help_us.md deleted file mode 100644 index ec438fda1b..0000000000 --- a/.github/ISSUE_TEMPLATE/Help_us.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: 🤝 Support us on Lettuce -about: If you would like to support our efforts in maintaining this community-driven project 🙌! - ---- - -Help support Lettuce! - -Lettuce has always been a community project, not really backed or owned by any single (or group) of companies. While some maintainers used to work at companies supporting open source no one was working on it full time and there certainly isn't a huge company or team anywhere doing all this work. - ---- - -As a group of volunteers you can help us in a few ways - -- Giving developer time on the project. (Message us on [Twitter](https://twitter.com/LettuceDriver) or [Gitter](https://gitter.im/lettuce-io/Lobby) for guidance). Companies should be paying their employees to contribute back to the open source projects they use everyday. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 726722a748..8e341873b7 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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. diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 0000000000..3529b7612b --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -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: 'This issue is marked stale. It will be closed in 30 days if it is not updated.' + stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.' + days-before-stale: 365 + days-before-close: 30 + stale-issue-label: "stale" + stale-pr-label: "stale" + operations-per-run: 10 + remove-stale-when-updated: false + only-labels: "status: waiting-for-feedback" From 8fda109f3599924b9108311047bf52ccd351b3df Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Thu, 25 Apr 2024 11:22:16 +0300 Subject: [PATCH 2/2] Addressing feedback on message test and a better label for the stale issues --- .github/workflows/stale-issues.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml index 3529b7612b..c7f091def9 100644 --- a/.github/workflows/stale-issues.yml +++ b/.github/workflows/stale-issues.yml @@ -15,12 +15,12 @@ jobs: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.' - stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.' + 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: "stale" - stale-pr-label: "stale" + 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"