-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Pull Request Checklist | ||
|
||
> Take your time to read through these, don't just click through them. Only check the boxes if they apply. | ||
## Admin | ||
<!--- Ensure --> | ||
- [ ] **Required:** I have read the [contributing guidelines](https://coalfire.atlassian.net/wiki/spaces/CEHOME/pages/2648440862/Pull+Request+Best+Practices) for submitting a PR. | ||
|
||
## Types of changes | ||
<!--- What types of changes does your code introduce? --> | ||
- [ ] :bug: Bug fix (non-breaking change which fixes an issue) | ||
- [ ] :sparkle: New feature (non-breaking change which adds functionality) | ||
- [ ] :collision: Breaking change (fix or feature that would cause existing functionality to change) | ||
|
||
## Testing | ||
|
||
- [ ] **Required:** I have tested the proposed changes to code (i.e. `packer build`, `terraform apply`), and they are working. | ||
- [ ] **Required:** All GitHub Actions ran successfully. If they didn't, I left a note in the description to address this. | ||
- [ ] **Optional:** I have already applied/deployed the changes in my environment. | ||
|
||
### Please check where this code has been tested | ||
|
||
- [ ] Locally | ||
- [ ] Customer Environment | ||
- [ ] Coalfire Sandbox Environment (AWS GovCloud, Azure Gov, GCP, etc.) | ||
|
||
## Documentation | ||
|
||
- [ ] **Optional, recommended:** I have updated ***`README.md`***. | ||
- [ ] **Optional, recommended:** I have updated documentation in ***Confluence/Organization's relevant Wiki***. | ||
- [ ] **Optional, recommended:** I left comments ***in-line in the code*** to help others understand the changes. | ||
|
||
## Tagging / Assigning | ||
|
||
- [ ] **Required:** I have tagged a ***Reviewer(s)***. | ||
- [ ] **Required:** I have tagged an ***Assignee(s)***. | ||
- [ ] **Optional:** I have tagged relevant stakeholders in a ***Comment***. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
paths: | ||
- '**.md' | ||
branches: | ||
- main | ||
- '**' | ||
workflow_call: | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
name: Terraform Validate | ||
|
||
name: Org Terraform Validate | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
verify: | ||
name: Validate Terraform Configuration | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Setup Terraform | ||
uses: hashicorp/setup-terraform@v1 | ||
with: | ||
terraform_version: 1.5.0 | ||
- name: Initialise with no backend | ||
run: terraform init -backend=false | ||
- name: Validate the configuration | ||
run: terraform validate | ||
create-release: | ||
uses: Coalfire-CF/Actions/.github/workflows/org-terraform-validate.yml@main | ||
with: | ||
terraform_version: '1.9.5' |