Skip to content

Commit

Permalink
feat: chore: create issue and pull-request templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot committed Mar 12, 2024
1 parent 8a14e82 commit de5037e
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Bug report
description: Report an issue or bug with this library
labels: ['bug']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: non_feature_request
attributes:
label: Confirm this is not a feature request
description: For feature requests or general feedback on the new API, comment in our [v2.0.0 Beta Discussion](https://github.com/cloudflare/cloudflare-go/discussions/1538)
options:
- label: This is a bug
required: true
- type: checkboxes
id: non_api
attributes:
label: Confirm this is a Go library issue and not an underlying Cloudflare API issue
description: Issues with the underlying Cloudflare API should be reported via [Cloudflare Support](https://developers.cloudflare.com/support/contacting-cloudflare-support)
options:
- label: This is an issue with the Go library
required: true
- type: textarea
id: what-happened
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is, and any additional context.
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: repro-steps
attributes:
label: To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. Fetch a '...'
2. Update the '....'
3. See error
validations:
required: true
- type: textarea
id: code-snippets
attributes:
label: Code snippets
description: If applicable, add code snippets to help explain your problem.
render: Go
validations:
required: false
- type: input
id: os
attributes:
label: OS
placeholder: macOS
validations:
required: true
- type: input
id: language-version
attributes:
label: Go version
placeholder: Go 1.22.0
validations:
required: true
- type: input
id: lib-version
attributes:
label: Library version
placeholder: github.com/cloudflare/cloudflare-go/v2@v2.0.0-beta.3
validations:
required: true
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
blank_issues_enabled: false
contact_links:
- name: v2.0.0 Beta feedback
url: https://github.com/cloudflare/cloudflare-go/discussions/1538
about: |
If you have a feature request or feedback on our new v2 library, please comment in our discussion page.
- name: Cloudflare support
url: https://developers.cloudflare.com/support/contacting-cloudflare-support
about: |
Please only file issues here that you believe represent actual bugs for the Cloudflare Go library.
If you're having general trouble with the Cloudflare API, please visit our help center to get support.
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!-- Thank you for contributing to this project! -->
<!-- The code in this repository is all auto-generated, and is not meant to be edited manually. -->
<!-- We recommend opening an Issue instead, but you are still welcome to open a PR to share for -->
<!-- an improvement if you wish, just note that we are unlikely to merge it as-is. -->

- [ ] I understand that this repository is auto-generated and my pull request may not be merged

## Changes being requested

## Additional context & links

0 comments on commit de5037e

Please sign in to comment.