From eca6df90d424fab632a0010fc420d136fff1bb30 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 18 May 2026 22:02:16 +0900 Subject: [PATCH] chore: add .github directory --- .github/FUNDING.yml | 3 ++ .github/ISSUE_TEMPLATE/bug_report.yml | 57 +++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + .github/ISSUE_TEMPLATE/feature.yml | 47 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/trouble.yml | 50 +++++++++++++++++++++++ .github/workflows/mirror.yml | 18 +++++++++ 6 files changed, 176 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.yml create mode 100644 .github/ISSUE_TEMPLATE/trouble.yml create mode 100644 .github/workflows/mirror.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..1f2ae3f --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: aclist diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..e572b50 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,57 @@ +name: Bug report +description: Submit bugs that affect functionality here +title: "[BUG] Your title here" +labels: ["bug"] +assignees: + - aclist +body: + - type: markdown + attributes: + value: | + ### WARNING: When posting log/config data, redact any sensitive information like API keys. + - type: checkboxes + id: kb + attributes: + label: Did you check if this issue already exists? + options: + - label: I have checked the [Knowledge Base](https://aclist.github.io/dzgui/kb.html) and searched through [past issues](https://github.com/aclist/dztui/issues?q=is%3Aissue+is%3Aclosed) and did not find my issue there. + required: true + - type: dropdown + id: device + attributes: + label: Device type + options: + - Desktop PC + - Steam Deck + default: 0 + validations: + required: true + - type: input + id: version + attributes: + label: DZGUI version + validations: + required: true + placeholder: "5.6.0" + - type: input + id: distro + attributes: + label: Linux distribution + validations: + required: true + placeholder: "Arch Linux" + - type: textarea + id: what-happened + attributes: + label: Describe the bug + description: What did you expect to happen? + placeholder: "E.g., When doing X, Y occurred. Include as much detail as possible." + validations: + required: true + - type: textarea + id: logs + attributes: + label: Additional log output + description: Attach the file `$HOME/.local/state/dzgui/DZGUI_DEBUG.log` by clicking this area to highlight it and then dragging the file in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 0000000..3b350f2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,47 @@ +name: Feature suggestion +description: Submit requests for new features here +title: "[FEAT] Your title here" +labels: ["enhancement"] +assignees: + - aclist +body: + - type: dropdown + id: device + attributes: + label: Device type + options: + - Desktop PC + - Steam Deck + default: 0 + validations: + required: true + - type: input + id: version + attributes: + label: DZGUI version + validations: + required: true + placeholder: "5.6.0" + - type: input + id: distro + attributes: + label: Linux distribution + validations: + required: true + placeholder: "Arch Linux" + - type: textarea + id: what-happened + attributes: + label: Describe the feature + description: A clear and detailed description + placeholder: "E.g., Add a dialog to the Options menu that automatically lets the user do Y" + validations: + required: true + - type: textarea + id: why + attributes: + label: Describe the benefit + description: How will this feature benefit large numbers of users? + placeholder: "E.g., Currently, users have to manually do X to achieve Y. Implementing this feature would achieve A, B, and C." + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/trouble.yml b/.github/ISSUE_TEMPLATE/trouble.yml new file mode 100644 index 0000000..e890c62 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/trouble.yml @@ -0,0 +1,50 @@ +name: Troubleshooting +description: Submit user error/troubleshooting questions here +title: "[HELP] Your title here" +labels: ["troubleshooting"] +assignees: + - aclist +body: + - type: markdown + attributes: + value: | + ### WARNING: When posting log/config data, redact any sensitive information like API keys. + - type: dropdown + id: device + attributes: + label: Device type + options: + - Desktop PC + - Steam Deck + default: 0 + validations: + required: true + - type: input + id: version + attributes: + label: DZGUI version + validations: + required: true + placeholder: "5.6.0" + - type: input + id: distro + attributes: + label: Linux distribution + validations: + required: true + placeholder: "Arch Linux" + - type: textarea + id: what-happened + attributes: + label: Describe the issue + description: A detailed description. What did you expect to happen? + placeholder: "Include as much detail as possible and state the steps leading up to the problem. E.g., First I do this, then I do this, then this happens." + validations: + required: true + - type: textarea + id: logs + attributes: + label: Additional log output + description: Attach the file `$HOME/.local/state/dzgui/DZGUI_DEBUG.log` by clicking this area to highlight it and then dragging the file in. + validations: + required: false diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..b4cf79b --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,18 @@ +name: Mirror to Codeberg + +on: + push: + workflow_dispatch: + +jobs: + mirror-to-codeberg: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + if: ${{ vars.GIT_REMOTE != '' }} + with: + target_repo_url: ${{ vars.GIT_REMOTE }} + ssh_private_key: ${{ secrets.GIT_SSH_PRIVATE_KEY }}