diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..cca52bbe --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,36 @@ +name: Bug report +description: Report a bug. +labels: ['type:bug', 'status:requirements', 'priority-5-triage'] +body: + - type: input + id: version-of-renovate-approve-bot + attributes: + label: Version. + description: What version of the Renovate Approve Bot are you using? + validations: + required: true + + - type: textarea + id: describe-bug + attributes: + label: Describe the bug. + description: 'Do not report any security concerns here. Email [renovate-disclosure@whitesourcesoftware.com](mailto:renovate-disclosure@whitesourcesoftware.com) instead.' + validations: + required: true + + - type: textarea + id: relevant-logs + attributes: + label: Relevant logs/debug messages. + description: | + Copy/paste any relevant logs or debug messages in this field. + value: | +
Logs + + ``` + Copy/paste any log here, between the starting and ending backticks + ``` + +
+ validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..3ba13e0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..a1b31e0d --- /dev/null +++ b/.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-approve-bot-to-be-able-to-do + attributes: + label: What would you like the Renovate Approve Bot 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 diff --git a/.github/ISSUE_TEMPLATE/refactor.yml b/.github/ISSUE_TEMPLATE/refactor.yml new file mode 100644 index 00000000..c8797147 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/refactor.yml @@ -0,0 +1,11 @@ +name: Refactor (internal) +description: For internal use only. +labels: ['type:refactor', 'status:requirements', 'priority-5-triage'] +body: + - type: textarea + id: describe-the-proposed-refactor + attributes: + label: Describe the proposed refactor. + description: 'Do not report any security concerns here. Email [renovate-disclosure@whitesourcesoftware.com](mailto:renovate-disclosure@whitesourcesoftware.com) instead.' + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..cc89360b --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,29 @@ + + +## Changes: + + + +## Context: + + + + +## Documentation (please check one with an [x]) + +- [ ] I have updated the documentation, or +- [ ] No documentation update is required + +## How I've tested my work (please tick one) + +I have verified these changes via: + +- [ ] Code inspection only, or +- [ ] Newly added/modified unit tests, or +- [ ] No unit tests but ran on a real repository, or +- [ ] Both unit tests + ran on a real repository + + + + + diff --git a/package.json b/package.json index fad80f7a..f323e658 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "jest": "jest", "lint": "run-s eslint prettier", "lint-fix": "run-s eslint-fix prettier-fix", - "prettier": "prettier --check \"**/*.{js,json,md}\"", - "prettier-fix": "prettier --write \"**/*.{js,json,md}\"", + "prettier": "prettier --check \"**/*.{js,json,md,yml}\"", + "prettier-fix": "prettier --write \"**/*.{js,json,md,yml}\"", "start": "node ./index.js", "test": "run-s lint jest" },