Skip to content

Commit

Permalink
chore: use default pull request template (#387)
Browse files Browse the repository at this point in the history
* chore: use default pull request template

The support for multiple pull request templates does not expose an
option in the UI to select the template. This is only available by
providing query parameters to a URL for a new pull request specifying
the desired template.

That isn't quite what we want here - instead, we want the PR body to be
automatically filled in any time someone opens a PR. This change makes
use of the default PR template naming convention to make this happen.

Related to https://linear.app/prefect/issue/PLA-1114/implement-pr-hygiene-improvements

* Adjust template for default usage

* Mention labels

* Mention conventional commits

* Mention draft status
  • Loading branch information
mitchnielsen authored Feb 24, 2025
1 parent ddc6cdd commit f4c1db5
Showing 1 changed file with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
---
name: New resource
labels: feature
about: For when you're adding a new resource or datasource
---

### Summary

<!-- Add a brief description of your change here -->

### Requirements

- [ ] Title follows the format: `feat(<resource name>): support <resource name>`
- [ ] Summary includes `Closes <issue>`, if available
#### General

- [ ] The [contributing guide](https://github.com/PrefectHQ/terraform-provider-prefect/blob/main/_about/CONTRIBUTING.md) has been read
- [ ] Title follows the [conventional commits](https://www.conventionalcommits.org) format
- [ ] Body includes `Closes <issue>`, if available
- [ ] Relevant labels have been added
- [ ] `Draft` status is used until ready for review

#### Code-level changes

- [ ] Unit tests are added/updated
- [ ] Acceptance tests are added/updated (including import tests, when needed)

#### New or updated resource/datasource
- [ ] Documentation is added (generated by `make docs` from source code)
- When applicable, provide a link back to the relevant page in the [Prefect documentation site](https://docs.prefect.io).
- [ ] For resources, the following are added:
- Resource example under `examples/resources/prefect_<name>/resource.tf`
- Import example under `examples/resources/prefect_<name>/import.sh`
- [ ] For datasources, the following is added:
- Datasource example under `examples/data-sources,resources>/prefect_<name>/data-source.tf`
- [ ] Unit tests are added, when needed
- [ ] Acceptance tests are added (including import tests, when needed)

0 comments on commit f4c1db5

Please sign in to comment.