From d19f4cda960913c905890b0eb71b64baf19e957c Mon Sep 17 00:00:00 2001 From: Max Cao Date: Wed, 9 Aug 2023 14:32:18 -0700 Subject: [PATCH 1/2] update --- .github/ISSUE_TEMPLATE/bug_report.md | 31 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 53 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature_request.md | 13 ------ .github/ISSUE_TEMPLATE/feature_request.yml | 18 ++++++++ .github/pull_request_template.md | 4 +- 6 files changed, 79 insertions(+), 45 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 08162e463..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: 🐞 Bug report -about: Create a report to help us improve Cryostat -title: '[Bug] ' -labels: bug, needs-triage -assignees: '' - ---- - -## Current Behavior: -A concise description of what you're experiencing. - -## Expected Behavior: -A concise description of what you expected to happen. - -## Screenshots -If applicable, add screenshots to help explain your problem. - -## Steps To Reproduce: -1. In this environment... -2. With this config... -3. Run '...' -4. See error... - -## Environment: -- OS: [e.g. Ubuntu 20.04] -- Environment: [e.g. OpenShift 4.7] -- Version [e.g. 2.2.0] - -## Anything else: -Links? References? Anything that will give us more context about the issue that you are encountering! diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..8f0edcd36 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,53 @@ +name: 🐞 Bug report +description: File a report to help us improve Cryostat. +title: '[Bug] <title>' +labels: [bug, needs-triage] + +body: + - type: textarea + attributes: + label: Current Behavior + description: A concise description of what you're experiencing. + placeholder: Tell us what you see! + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + placeholder: Tell us what you expected to see! + validations: + required: false + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: false + - type: textarea + attributes: + label: Environment + description: | + examples: + - **OS**: Ubuntu 20.04 + - **Environment**: OpenShift 4.11 + - **Version**: Cryostat 2.3.0 + value: | + - OS: + - Environment: + - Version: + render: Markdown + validations: + required: false + - type: textarea + attributes: + label: Anything else? + description: | + Screenshots? Links? References? Anything that will give us more context about the issue you are encountering! + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..c7c2844a9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: enabled +contact_links: + - name: Cryostat Community Support + url: https://github.com/cryostatio/cryostat/discussions + about: Ask general questions about Cryostat here! diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index f76d656bb..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: ✨ Feature request -about: Improve an existing feature or add a new one -title: '[Request] <title>' -labels: feat, needs-triage -assignees: '' - ---- - -## Describe the feature -A clear and concise description of what the feature is. - -## Any other information? \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..c226da616 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,18 @@ +name: ✨ Feature request +description: Improve an existing feature or add a new one. +title: '[Request] <title>' +labels: [feat, needs-triage] + +body: + - type: textarea + attributes: + label: Describe the feature + description: A clear and concise description of what the feature is. + placeholder: A nice feature that I'd like to suggest... + validations: + required: true + - type: textarea + attributes: + label: Anything other information? + validations: + required: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a4edf53b1..8663e25ed 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -6,7 +6,9 @@ * [ ] Resolved all conflicts, if any * [ ] Rebased your branch PR on top of the latest upstream `main` branch * [ ] Attached at least one of the following labels to the PR: `[chore, ci, docs, feat, fix, test]` -* [ ] Signed the last commit: `git commit --amend --signoff` +* [ ] [Signed all commits using a GPG signature](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification#gpg-commit-signature-verification) + +**To recreate commits with GPG signature** `git fetch upstream && git rebase --force --gpg-sign upstream/main` _______________________________________________ Fixes: #<issue number> From 0897256fbdda6af17673ee851415f06887379333 Mon Sep 17 00:00:00 2001 From: Max Cao <macao@redhat.com> Date: Thu, 10 Aug 2023 10:49:25 -0700 Subject: [PATCH 2/2] uppercase --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 8f0edcd36..7de7aa9e3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -33,7 +33,7 @@ body: attributes: label: Environment description: | - examples: + Examples: - **OS**: Ubuntu 20.04 - **Environment**: OpenShift 4.11 - **Version**: Cryostat 2.3.0