Add CoC checkboxes to the issue forms

This commit is contained in:
Sviatoslav Sydorenko 2021-03-03 13:17:42 +01:00 committed by Sviatoslav Sydorenko
parent 3a74f7ea22
commit 0dd2327bca
3 changed files with 42 additions and 0 deletions

View file

@ -122,4 +122,16 @@ body:
``` ```
validations: validations:
required: true 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
... ...

View file

@ -86,6 +86,19 @@ body:
validations: validations:
required: true 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 - type: markdown
attributes: attributes:
value: | value: |
@ -94,4 +107,9 @@ body:
Describe how this improves the documentation, e.g. before/after situation or screenshots. 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. **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
... ...

View file

@ -59,4 +59,16 @@ body:
``` ```
validations: validations:
required: true 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
... ...