summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2021-03-03 13:17:42 +0100
committerSviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>2021-04-06 16:47:04 +0200
commit0dd2327bca4095d53b30a2e2d0fb6d2f5981314b (patch)
tree4c84d6b2c2102c5e647c60ef4b0719cd54b11881
parent3a74f7ea22ee7cb9aa42d52e018bdf8957c96e47 (diff)
downloadansible-0dd2327bca4095d53b30a2e2d0fb6d2f5981314b.tar.gz
Add CoC checkboxes to the issue forms
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml12
-rw-r--r--.github/ISSUE_TEMPLATE/documentation_report.yml18
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.yml12
3 files changed, 42 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 8c80e8e924..3b5341c56a 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -122,4 +122,16 @@ body:
```
validations:
required: true
+
+
+- type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct][CoC] first.
+
+ [CoC]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--bug_report.yml
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
...
diff --git a/.github/ISSUE_TEMPLATE/documentation_report.yml b/.github/ISSUE_TEMPLATE/documentation_report.yml
index 92df1b71e7..ff22a16db3 100644
--- a/.github/ISSUE_TEMPLATE/documentation_report.yml
+++ b/.github/ISSUE_TEMPLATE/documentation_report.yml
@@ -86,6 +86,19 @@ body:
validations:
required: true
+
+- type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct][CoC] first.
+
+ [CoC]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--documentation_report.yml
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
+
+
- type: markdown
attributes:
value: |
@@ -94,4 +107,9 @@ body:
Describe how this improves the documentation, e.g. before/after situation or screenshots.
**HINT:** You can paste https://gist.github.com links for larger files.
+ placeholder: >-
+ When the improvement is applied, it makes it more straightforward
+ to understand X.
+ validations:
+ required: true
...
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 3e100a2325..01ad4456c5 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -59,4 +59,16 @@ body:
```
validations:
required: true
+
+
+- type: checkboxes
+ attributes:
+ label: Code of Conduct
+ description: |
+ Read the [Ansible Code of Conduct][CoC] first.
+
+ [CoC]: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--feature_request.yml
+ options:
+ - label: I agree to follow the Ansible Code of Conduct
+ required: true
...