diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6405dadb..4d117090 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,6 +1,6 @@ --- name: Bug report -about: Create a report to help us improve +about: Create a Bug Report title: '' labels: bug assignees: '' diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..7dd86d32 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,46 @@ +# +# Copyright (C) 2023 AuxXxilium and Ing +# +# This is free software, licensed under the MIT License. +# See /LICENSE for more information. +# + +name: Auto Comment +on: + issues: + types: [opened, reopened] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Init Env + run: | + git config --global user.email "info@auxxxilium.tech" + git config --global user.name "AuxXxilium" + sudo timedatectl set-timezone "Europe/Berlin" + + - name: Check Issues + run: | + if echo "${{ github.event.issue.body }}" | grep -q "ENV"; then + echo "FALG=true" >> $GITHUB_ENV + else + echo "FALG=false" >> $GITHUB_ENV + fi + + - name: Create Issues comment + if: env.FALG == 'false' + uses: actions-cool/issues-helper@v3 + with: + actions: "create-comment" + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + **Describe the Bug** + A clear and concise description of what the bug is. + + **Screenshots** + Screenshot the Systeminfo (Arc - Sysinfo) or use new "Full Sysinfo - Upload" Function provide the Code!!! <- IMPORTANT + + **Hardware** + Add your Hardware Informations here. CPU / Board / Networkcontroller / Storagecontroller / ...