From dbb3d69890debe92a1407d0bcf08a197b23c29d1 Mon Sep 17 00:00:00 2001 From: Jorge Soares <547492+jsoares@users.noreply.github.com> Date: Fri, 4 Aug 2023 13:49:21 +0200 Subject: [PATCH 1/3] Add issue template --- .github/ISSUE_TEMPLATE/issue_report.yaml | 80 ++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue_report.yaml diff --git a/.github/ISSUE_TEMPLATE/issue_report.yaml b/.github/ISSUE_TEMPLATE/issue_report.yaml new file mode 100644 index 0000000..edbcafa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_report.yaml @@ -0,0 +1,80 @@ +name: IPC Issue Template +description: Use this template to report bugs and other issues +labels: [bug] +body: + - type: dropdown + id: issue-type + attributes: + label: Issue type + description: What type of issue would you like to report? + multiple: false + options: + - Bug + - Build/Install + - Performance + - Support + - Feature Request + - Documentation Bug + - Documentation Request + - Others + validations: + required: true + + - type: dropdown + id: latest + attributes: + label: Have you reproduced the bug with the latest dev version? + description: We suggest attempting to reproducing the bug with the dev branch + options: + - "Yes" + - "No" + validations: + required: true + + - type: input + id: version + attributes: + label: Version + placeholder: e.g. v0.4.0 + validations: + required: true + - type: dropdown + id: Code + attributes: + label: Custom code + options: + - "Yes" + - "No" + validations: + required: true + - type: input + id: OS + attributes: + label: OS platform and distribution + placeholder: e.g., Linux Ubuntu 16.04 + - type: textarea + id: what-happened + attributes: + label: Describe the issue + description: Also tell us, what did you expect to happen? + placeholder: | + This is where you get to tell us what went wrong, when doing so, please try to provide a clear and concise description of the bug with all related information: + * What you were doing when you experienced the bug? What are you trying to build? + * Any *error* messages and logs you saw, *where* you saw them, and what you believe may have caused them (if you have any ideas). + * What is the expected behaviour? Links to the code? + validations: + required: true + - type: textarea + id: repro-steps + attributes: + label: Repro steps + description: Provide the minimum necessary steps to reproduce the problem. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell From bc52929dd3973e7cfd5630aaea5559bcd69cda52 Mon Sep 17 00:00:00 2001 From: Jorge Soares <547492+jsoares@users.noreply.github.com> Date: Fri, 4 Aug 2023 14:12:01 +0200 Subject: [PATCH 2/3] Add bug tracker action --- .github/workflows/add-bug-tracker.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/add-bug-tracker.yaml diff --git a/.github/workflows/add-bug-tracker.yaml b/.github/workflows/add-bug-tracker.yaml new file mode 100644 index 0000000..bd4a832 --- /dev/null +++ b/.github/workflows/add-bug-tracker.yaml @@ -0,0 +1,18 @@ +name: Add bugs to tracker + +on: + issues: + types: + - opened + - labeled + +jobs: + add-to-project: + name: Add issue to tracker + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/consensus-shipyard/projects/3 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: bug \ No newline at end of file From 4e108185be7221d4a428cb2e28ae3c1e346fd706 Mon Sep 17 00:00:00 2001 From: Jorge Soares <547492+jsoares@users.noreply.github.com> Date: Fri, 4 Aug 2023 14:15:11 +0200 Subject: [PATCH 3/3] Rename template --- .github/ISSUE_TEMPLATE/{issue_report.yaml => bug-report.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/ISSUE_TEMPLATE/{issue_report.yaml => bug-report.yaml} (100%) diff --git a/.github/ISSUE_TEMPLATE/issue_report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml similarity index 100% rename from .github/ISSUE_TEMPLATE/issue_report.yaml rename to .github/ISSUE_TEMPLATE/bug-report.yaml