A local-first personal finance app
[AI] Replace Support contact link with auto-closing tech-support issue template (#7670)
Matiss Janis Aboltins8ab827742945
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 869a733e32..d2a9aa6c5f 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -3,9 +3,6 @@ contact_links:- name: Bank-sync issuesurl: https://discord.gg/pRYNYr4W5Aabout: Is bank-sync not working? Returning too much or too few information? Reach out to the community on Discord.- - name: Support- url: https://discord.gg/pRYNYr4W5A- about: Need help with something? Having troubles setting up? Or perhaps issues using the API? Reach out to the community on Discord.- name: Translationsurl: https://hosted.weblate.org/projects/actualbudget/actual/about: Found a string that needs a better translation? Add your suggestion or upvote an existing one in Weblate.diff --git a/.github/ISSUE_TEMPLATE/tech-support.yml b/.github/ISSUE_TEMPLATE/tech-support.ymlnew file mode 100644index 0000000000..7e8a1e9372--- /dev/null+++ b/.github/ISSUE_TEMPLATE/tech-support.yml@@ -0,0 +1,17 @@+name: Tech Support+description: Need help with something? Having troubles setting up? Or perhaps issues using the API?+title: '[Support]: '+labels: ['tech-support']+body:+ - type: markdown+ attributes:+ value: |+ > ⚠️ **Tech support tickets opened here are automatically closed.** GitHub Issues are reserved for bug reports and feature requests. The fastest way to get help is to ask the community on [Discord](https://discord.gg/pRYNYr4W5A) — that's where most of the community lives and can help you in real time.+ - type: textarea+ id: problem+ attributes:+ label: Describe your problem+ description: Please describe, in as much detail as you can, what you need help with.+ placeholder: I'm trying to [...] but [...]+ validations:+ required: truediff --git a/.github/workflows/issues-close-tech-support.yml b/.github/workflows/issues-close-tech-support.ymlnew file mode 100644index 0000000000..3eb0425d8b--- /dev/null+++ b/.github/workflows/issues-close-tech-support.yml@@ -0,0 +1,23 @@+name: Close tech support issues with automated message++on:+ issues:+ types: [labeled]++jobs:+ tech-support:+ if: ${{ github.event.label.name == 'tech-support' }}+ runs-on: ubuntu-latest+ steps:+ - name: Create comment and close issue+ run: |+ gh issue comment "$ISSUE_URL" --body ":wave: Thanks for reaching out!++ GitHub Issues are reserved for bug reports and feature requests, so tech support tickets are automatically closed. The fastest way to get help is to ask the community on [Discord](https://discord.gg/pRYNYr4W5A) — that's where most of the community lives and can help you in real time.++ <!-- tech-support-auto-close-comment -->"++ gh issue close "$ISSUE_URL"+ env:+ ISSUE_URL: https://github.com/actualbudget/actual/issues/${{ github.event.issue.number }}+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/upcoming-release-notes/7670.md b/upcoming-release-notes/7670.mdnew file mode 100644index 0000000000..e981504fd4--- /dev/null+++ b/upcoming-release-notes/7670.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Replace support contact link with auto-closing tech support issue template.