From 3c218a548d15bd0f1f406b74b8e7a2177e3e3623 Mon Sep 17 00:00:00 2001 From: jneilliii Date: Thu, 12 Sep 2024 19:56:40 -0400 Subject: [PATCH] add issue templates, funding, and stale bot --- .github/FUNDING.yml | 3 +++ .github/ISSUE_TEMPLATE/bug_report.md | 26 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++++++++ .github/stale.yml | 16 ++++++++++++++ .github/workflows/stale.yml | 27 +++++++++++++++++++++++ 5 files changed, 92 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/stale.yml create mode 100644 .github/workflows/stale.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..b4cf926 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +github: [jneilliii] +patreon: jneilliii +custom: ['https://www.paypal.me/jneilliii'] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..83d44fa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,26 @@ +--- +name: Bug report +about: Please make sure to check other issues, including closed ones, prior to submitting a bug report. Debug logs are required and any bug report submitted without them will be ignored and closed. +title: "[BUG]: " +labels: '' +assignees: '' + +--- + +**Describe the Bug** + + +**Expected Behavior** + + +**Debug Logs** + + +**Screenshots** + + +**Printer and Plugin Setting Details** + +* Printer model? +* Is your printer connected to Bambu Cloud? +* Is the plugin configured for local access only? diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..2c02495 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Create a feature request for an improvement or change you'd like implemented. +title: "[FR]: " +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** + + +**Describe the solution you'd like** + + +**Describe alternatives you've considered** + + +**Additional context** + diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..52eb925 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,16 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 14 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - enhancement + - bug +# Label to use when marking an issue as stale +staleLabel: stale +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + activity in 14 days. It will be closed if no further activity occurs in 7 days. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..b569fde --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,27 @@ +name: Mark Stale Issues +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" +permissions: + actions: write +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days' + days-before-stale: 14 + days-before-close: 7 + stale-issue-label: 'stale' + days-before-issue-stale: 14 + days-before-pr-stale: -1 + days-before-issue-close: 7 + days-before-pr-close: -1 + exempt-issue-labels: 'bug,enhancement' + - uses: actions/checkout@v4 + - uses: gautamkrishnar/keepalive-workflow@v2 + with: + use_api: true