Skip to content

Commit

Permalink
chore: create admin-only issue form, improve and add discussion forms (
Browse files Browse the repository at this point in the history
…#22469)

Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
HonkingGoose and rarkins committed May 29, 2023
1 parent eaf8f89 commit 2610e2f
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 169 deletions.
Expand Up @@ -4,6 +4,7 @@ body:
attributes:
label: How are you running Renovate?
options:
- 'Placeholder value, please select the correct response from the dropdown'
- 'Mend Renovate hosted app on github.com'
- 'Self-hosted'
validations:
Expand All @@ -21,6 +22,7 @@ body:
attributes:
label: If you're self-hosting Renovate, select which platform you are using.
options:
- 'Placeholder value, please select the correct response from the dropdown'
- 'AWS CodeCommit'
- 'Azure DevOps (dev.azure.com)'
- 'Azure DevOps Server'
Expand All @@ -34,23 +36,6 @@ body:
validations:
required: false

- type: input
id: platform-version-if-selfhosting
attributes:
label: If you're self-hosting Renovate, tell us what version of the platform you run.
description: |
This field is for the version number of your _platform_, so one of these:
- AWS CodeCommit
- Azure DevOps
- Bitbucket Cloud
- Bitbucket Server
- Azure DevOps
- Gitea
- GitHub (.com and Enterprise Server)
- GitLab (.com and CE/EE)
validations:
required: false

- type: dropdown
id: regression-error
attributes:
Expand Down
19 changes: 0 additions & 19 deletions .github/DISCUSSION_TEMPLATE/ideas-general-discussion.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/DISCUSSION_TEMPLATE/mend-renovate-app-support.yml

This file was deleted.

@@ -1,19 +1,4 @@
name: Bug report
description: Bug reports are only for maintainers. If you are a Renovate user, create a Discussion instead.
labels:
['type:bug', 'status:requirements', 'priority-5-triage', 'needs-discussion']
body:
- type: markdown
attributes:
value: '# This form is for Renovate maintainers only.'

- type: markdown
attributes:
value: |
**Stop!** Only create a Bug Report if you're a maintainer of Renovate.
If you're a user of Renovate, please create a GitHub Discussion.
Please go back a step and select _Start a discussion_ instead of Issue.
- type: dropdown
id: how-are-you-running-renovate
attributes:
Expand All @@ -37,6 +22,7 @@ body:
attributes:
label: If you're self-hosting Renovate, select which platform you are using.
options:
- 'Placeholder value, please select the correct response from the dropdown'
- 'AWS CodeCommit'
- 'Azure DevOps (dev.azure.com)'
- 'Azure DevOps Server'
Expand All @@ -62,9 +48,9 @@ body:
required: true

- type: textarea
id: describe-bug
id: describe-problem
attributes:
label: Describe the bug
label: Describe the problem
description: 'Do not report any security concerns here. Email [renovate-disclosure@mend.io](mailto:renovate-disclosure@mend.io) instead.'
validations:
required: true
Expand All @@ -74,12 +60,12 @@ body:
attributes:
label: Relevant debug logs
description: |
Try not to raise a bug report unless you've looked at the logs first.
Try not to report a problem unless you've looked at the logs first.
If you're running self-hosted, run with `LOG_LEVEL=debug` in your environment variables and search for whatever dependency/branch/PR that is causing the problem.
If you are using the Renovate App, log into [Renovate's app dashboard](https://app.renovatebot.com/dashboard) and locate the correct job log for when the problem occurred (e.g. when the PR was created).
Try to paste the *relevant* logs here, not the entire thing and not just a link to the dashboard (others don't have permissions to view them).
If you're not sure about the relevant parts of the log, then feel free to post the full log to a [Github Gist](https://gist.github.com/) and link to it.
Try to highlight the important logs into the issue itself.
Try to highlight the important logs into the Discussion itself.
value: |
<details><summary>Logs</summary>
Expand Down
8 changes: 8 additions & 0 deletions .github/DISCUSSION_TEMPLATE/request-a-feature.yml
@@ -0,0 +1,8 @@
body:
- type: textarea
id: discussion-field
attributes:
label: Tell us more.
description: Explain your feature request in this field.
validations:
required: true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/administration-only.yml
@@ -0,0 +1,38 @@
name: Administration only
description: For administrators only
labels: ['status:ready', 'priority-3-medium', 'needs-discussion']
body:
- type: markdown
attributes:
value: '# This form is for Renovate administrators only.'

- type: markdown
attributes:
value: |
**Stop!** This form is for the Renovate administrators only.
If you're a user of Renovate, please create a GitHub Discussion.
Please go back a step and select _Start a discussion_ instead of Issue.
- type: textarea
id: describe-proposed-changes
attributes:
label: Describe the proposed change(s).
description: 'Do not report any security concerns here. Email renovate-disclosure@mend.io instead.'
validations:
required: true

- type: textarea
id: describe-why-we-need-want-these-changes
attributes:
label: Describe why we need/want these change(s).
description: 'Do not report any security concerns here. Email renovate-disclosure@mend.io instead.'
validations:
required: true

- type: markdown
attributes:
value: '# Reminder for administrators:'

- type: markdown
attributes:
value: 'Before submitting the issue: add the correct **type:** label and remove the **needs-discussion** label.'
42 changes: 0 additions & 42 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/refactor.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/label-actions.yml
Expand Up @@ -187,7 +187,7 @@
This PR will be closed, but you can reopen it after the discussion has been resolved.
Thanks, The Renovate team
Thanks, the Renovate team
close: true

'needs-details':
Expand All @@ -214,7 +214,7 @@
This Issue will now be closed and locked. We may later batch-delete this issue. This way we keep Issues actionable, and free of duplicates or wrong bug reports.
Thanks, The Renovate team
Thanks, the Renovate team
close: true
lock: true
lock-reason: 'resolved'
Expand All @@ -227,4 +227,4 @@
You can find a Markdown code formatting guide [here](https://www.markdownguide.org/basic-syntax/#code) as well as some GitHub-specific information formatting code blocks [here](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
Thanks, The Renovate team
Thanks, the Renovate team
2 changes: 1 addition & 1 deletion docs/development/triage-guide.md
Expand Up @@ -38,7 +38,7 @@ Take the following steps on an incoming feature request:

If you've been given triage rights, you are allowed to do the following things:

- Apply labels to issues
- Apply labels to issues/discussions
- Close, reopen, and assign all issues and pull requests
- Mark duplicate issues and pull requests
- Request pull request reviews
Expand Down

0 comments on commit 2610e2f

Please sign in to comment.