Skip to content

Commit

Permalink
Add template for a CI issue (#401)
Browse files Browse the repository at this point in the history
Add template for a CI issue

SUMMARY
As suggested by @goneri
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
.github/
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Gonéri Le Bouder <[email protected]>
  • Loading branch information
tremble authored Jul 13, 2021
1 parent a540d41 commit 469dde5
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/ci_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
name: CI Bug Report
description: Create a report to help us improve our CI

body:
- type: markdown
attributes:
value: |
Verify first that your issue is not [already reported on GitHub][issue search].
*Complete **all** sections as described, this form is processed automatically.*
[issue search]: https://github.com/ansible-collections/amazon.aws/search?q=is%3Aissue&type=issues
- type: textarea
attributes:
label: Summary
description: |
Describe the new issue briefly below.
placeholder: >-
I opened a Pull Request and CI failed to run. I believe this is due to a problem with the CI rather than my code.
validations:
required: true

- type: dropdown
attributes:
label: Issue Type
# FIXME: Once GitHub allows defining the default choice, update this
options:
- CI Bug Report
validations:
required: true

- type: textarea
attributes:
label: CI Jobs
description: >-
Please provide a link to the failed CI tests.
placeholder: https://dashboard.zuul.ansible.com/t/ansible/buildset/be956faa49d84e43bc860d0cd3dc8503
validations:
required: false

- type: textarea
attributes:
label: Pull Request
description: >-
Please provide a link to the Pull Request where the tests are failing
placeholder: https://github.com/ansible-collections/amazon.aws/runs/3040421733
validations:
required: false

- type: textarea
attributes:
label: Additional Information
description: |
Please provide as much information as possible to help us understand the issue being reported.
Where possible, please include the specific errors that you're seeing.
**HINT:** You can paste https://gist.github.com links for larger files.
value: |
<!--- Paste example playbooks or commands between quotes below -->
```yaml (paste below)
```
validations:
required: false

- type: checkboxes
attributes:
label: Code of Conduct
description: |
Read the [Ansible Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
options:
- label: I agree to follow the Ansible Code of Conduct
required: true
...
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
blank_issues_enabled: false # default: true
contact_links:
- name: Security bug report
url: https://docs.ansible.com/ansible-core/devel/community/reporting_bugs_and_features.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
about: |
Please learn how to report security vulnerabilities here.
For all security related bugs, email [email protected]
instead of using this issue tracker and you will receive
a prompt response.
For more information, see
https://docs.ansible.com/ansible/latest/community/reporting_bugs_and_features.html
- name: Ansible Code of Conduct
url: https://docs.ansible.com/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
about: Be nice to other members of the community.
- name: Talks to the community
url: https://docs.ansible.com/ansible/latest/community/communication.html?utm_medium=github&utm_source=issue_template_chooser#mailing-list-information
about: Please ask and answer usage questions here
- name: Working groups
url: https://github.com/ansible/community/wiki
about: Interested in improving a specific area? Become a part of a working group!
- name: For Enterprise
url: https://www.ansible.com/products/engine?utm_medium=github&utm_source=issue_template_chooser_ansible_collections
about: Red Hat offers support for the Ansible Automation Platform

0 comments on commit 469dde5

Please sign in to comment.