Skip to content

Commit

Permalink
chore: migrate issue templates to forms (#11188)
Browse files Browse the repository at this point in the history
  • Loading branch information
HonkingGoose committed Aug 10, 2021
1 parent 71de9dc commit fd35c35
Show file tree
Hide file tree
Showing 5 changed files with 121 additions and 84 deletions.
69 changes: 0 additions & 69 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,77 @@
name: Bug report
description: You've found a bug with Renovate.
labels: ['type:bug', 'status:requirements', 'priority-5-triage']
body:
- type: dropdown
id: how-are-you-running-renovate
attributes:
label: How are you running Renovate?
options:
- 'WhiteSource Renovate hosted app on github.com'
- 'Self-hosted'
validations:
required: true

- type: dropdown
id: platform-select
attributes:
label: Please select which platform you are using if self-hosting.
options:
- 'Azure DevOps (dev.azure.com)'
- 'Azure DevOps Server'
- 'Bitbucket Cloud (bitbucket.org)'
- 'Bitbucket Server'
- 'Gitea'
- 'github.com'
- 'GitHub Enterprise Server'
- 'gitlab.com'
- 'GitLab self-hosted'
validations:
required: false

- type: input
id: renovate-version-if-selfhosting
attributes:
label: If you're self-hosting Renovate, tell us what version of Renovate you run.
validations:
required: false

- type: textarea
id: describe-bug
attributes:
label: Describe the bug
description: 'Do not report any security concerns here. Email renovate-disclosure@whitesourcesoftware.com instead.'
validations:
required: true

- type: textarea
id: debug-logs
attributes:
label: Relevant debug logs
description: |
Try not to raise a bug report 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 https://app.renovatebot.com/dashboard and locate the correct job log for when the problem occurred (e.g. when the PR was created).
Paste the *relevant* logs here, not the entire thing and not just a link to the dashboard (others do not have permissions to view them).
value: |
<details><summary>Logs</summary>
```
Copy/paste any log here, between the starting and ending backticks
```
</details>
validations:
required: false

- type: dropdown
id: minimal-reproduction-repository
attributes:
label: Have you created a minimal reproduction repository?
description: Please read the [minimal reproductions documentation](https://github.com/renovatebot/renovate/blob/main/docs/development/minimal-reproductions.md) to learn how to make a good minimal reproduction repository.
options:
- 'I have linked to a minimal reproduction repository in the bug description'
- 'No reproduction, but I have linked to a public repo where it occurs'
- 'No reproduction repository'
validations:
required: true
15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,29 @@
name: Feature request
description: Suggest an idea for this project.
labels: ['type:feature', 'status:requirements', 'priority-5-triage']
body:
- type: textarea
id: what-would-you-like-renovate-to-be-able-to-do
attributes:
label: What would you like Renovate to be able to do?
placeholder: "Tell us what requirements you need solving, and be sure to mention too if this is part of any bigger problem you're trying to solve."
validations:
required: true

- type: textarea
id: implementation-idea-textbox
attributes:
label: If you have any ideas on how this should be implemented, please tell us here.
placeholder: "In case you've already dug into existing options or source code and have ideas, mention them here. Try to keep implementation ideas separate from requirements."
validations:
required: true

- type: dropdown
id: interested-in-implementing-the-feature
attributes:
label: Is this a feature you are interested in implementing yourself?
options:
- 'Yes'
- 'No'
validations:
required: true
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor.yml
@@ -0,0 +1,15 @@
name: Refactor (internal)
description: For internal use only.
labels: ['type:refactor', 'status:requirements', 'priority-5-triage']
body:
- type: markdown
attributes:
value: '# This form is for Renovate maintainers only.'

- type: textarea
id: describe-proposed-changes
attributes:
label: Describe the proposed change(s).
description: 'Do not report any security concerns here. Email renovate-disclosure@whitesourcesoftware.com instead.'
validations:
required: true

0 comments on commit fd35c35

Please sign in to comment.