diff --git a/.github/ISSUE_TEMPLATE/0-default.yml b/.github/ISSUE_TEMPLATE/0-default.yml new file mode 100644 index 0000000..0414042 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/0-default.yml @@ -0,0 +1,14 @@ +name: Default +description: Feature request or bug report +body: + - type: markdown + attributes: + value: | + **Note:** By creating a PR or an issue you automatically agree to the CLA. See [CONTRIBUTING.md](https://github.com/userver-framework/realmedium_sample/blob/develop/CONTRIBUTING.md). + - type: textarea + id: what-happened + attributes: + label: Add a description + placeholder: Tell us what you see! + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..382cfd5 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,10 @@ + + + + + + + +------------------------ +Note: by creating a PR or an issue you automatically agree to the CLA. See [CONTRIBUTING.md](https://github.com/userver-framework/realmedium_sample/blob/develop/CONTRIBUTING.md). Feel free to remove this note, the agreement holds. + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 267004e..b5b65bc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,18 +17,6 @@ By adopting the CLA, you state the following: If you agree with these principles, please read and adopt our CLA. By providing us your contributions, you hereby declare that you have already read and adopt our CLA, and we may freely merge your contributions with our corresponding open source project and use it in further in accordance with terms and conditions of the CLA. -## Provide contributions - -If you have already adopted terms and conditions of the CLA, you are able to provide your contributions. When you submit your pull request, please add the following information into it: - -``` -I hereby agree to the terms of the CLA available at: [link]. -``` - -Replace the bracketed text as follows: -* [link] is the link to the current version of the CLA: https://yandex.ru/legal/cla/, https://yandex.ru/legal/cla/?lang=en (in English) or https://yandex.ru/legal/cla/?lang=ru (in Russian). - -It is enough to provide us such notification once. ## Other questions