Skip to content

Commit cc95e24

Browse files
committed
Update contributing, PR template.
1 parent 5d1356b commit cc95e24

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010
* [ ] _I have read [CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/README.md)._
1111
* [ ] _I have [allowed changes to my fork to be made](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)._
1212
* [ ] _I have added tests, assuming new tests are warranted_.
13-
* [ ] _I have updated the Terraform docs in this repo, assuming any changes to the schema of Resources or Data Sources have been made._
1413
* [ ] _I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._

CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
The documentation is generated using [tfplugindocs](https://github.com/hashicorp/terraform-plugin-docs).
66

7-
`docs/` should never be edited by hand. Instead, update the documentation via updating `Description` fields within the `schema` blocks of the provider's resources and data sources. And if needed, update the templates in `templates/`. Finally, you can run the following command to re-generate the documentation:
7+
There is a [GitHub Action Workflow](.github/workflows/docs.yaml) that will automatically update the documentation and commit the changes. This workflow is only triggered when files in `templates/` or files with the `.go` extension are updated. If you suspect that the documentation is out of date, you can comment `/docs` in a PR.
8+
9+
`docs/` should never be edited by hand. Instead, update the documentation via updating `Description` fields within the `schema` blocks of the provider's resources and data sources. And if needed, update the templates in `templates/`.
10+
11+
You can always run the following command locally to re-generate the documentation:
812

913
```bash
1014
make docs
@@ -19,5 +23,4 @@ make docs
1923
### PR Requirements
2024

2125
1. Ensure that all tests pass (via commenting `/test` if you are an admin or a contributor with write access on this repo, otherwise wait for a maintainer to submit the comment. The comment will be ignored if you are not an admin or a contributor with write access on this repo. See: https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)
22-
2. Ensure that `make docs` has been run and the changes have been committed.
2326
3. Ensure that `make fmt` has been run and the changes have been committed.

0 commit comments

Comments
 (0)