This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
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.
* Adding pre-commit config * Adding markdown files * terraform-docs: automated action --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
9452030
commit 0dd7d72
Showing
5 changed files
with
131 additions
and
8 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,56 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
tf_docs: | ||
name: Render Terraform Docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
|
||
- name: Render terraform docs inside the README.md and push changes back to PR branch | ||
uses: terraform-docs/[email protected] | ||
with: | ||
working-dir: . | ||
output-file: README.md | ||
output-method: inject | ||
git-push: "true" | ||
pre_commit: | ||
name: Run pre-commit and commit any autocorrections | ||
# Depends on tf_docs to avoid conflicts when changes are being written by both tf_docs and pre-commit | ||
needs: tf_docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Terraform | ||
uses: hashicorp/setup-terraform@v3 | ||
with: | ||
terraform_version: 1.6.6 | ||
- name: Setup Terragrunt | ||
uses: autero1/[email protected] | ||
with: | ||
terragrunt_version: 0.54.8 | ||
# To avoid rate-limiting | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: terraform-linters/setup-tflint@v3 | ||
name: TFLint - Setup | ||
with: | ||
tflint_version: latest | ||
|
||
- name: TFLint - Init | ||
run: tflint --init | ||
env: | ||
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: TFLint - Show version | ||
run: tflint --version | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- uses: pre-commit/[email protected] | ||
- uses: pre-commit-ci/[email protected] | ||
if: always() |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# License | ||
|
||
As a work of the [United States government](https://www.usa.gov/), this project | ||
is in the public domain within the United States of America. | ||
|
||
Additionally, we waive copyright and related rights in the work worldwide | ||
through the CC0 1.0 Universal public domain dedication. | ||
|
||
## CC0 1.0 Universal Summary | ||
|
||
This is a human-readable summary of the [Legal Code (read the full | ||
text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode). | ||
|
||
### No Copyright | ||
|
||
The person who associated a work with this deed has dedicated the work to the | ||
public domain by waiving all of their rights to the work worldwide under | ||
copyright law, including all related and neighboring rights, to the extent | ||
allowed by law. | ||
|
||
You can copy, modify, distribute, and perform the work, even for commercial | ||
purposes, all without asking permission. | ||
|
||
### Other Information | ||
|
||
In no way are the patent or trademark rights of any person affected by CC0, nor | ||
are the rights that other persons may have in the work or in how the work is | ||
used, such as publicity or privacy rights. | ||
|
||
Unless expressly stated otherwise, the person who associated a work with this | ||
deed makes no warranties about the work, and disclaims liability for all uses | ||
of the work, to the fullest extent permitted by applicable law. When using or | ||
citing the work, you should not imply endorsement by the author or the | ||
affirmer. |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Security and Responsible Disclosure Policy | ||
|
||
*Submit a vulnerability:* Unfortunately, we cannot accept secure submissions via | ||
email or via GitHub Issues. Please use our website to submit vulnerabilities at | ||
[https://hhs.responsibledisclosure.com](https://hhs.responsibledisclosure.com). | ||
HHS maintains an acknowledgements page to recognize your efforts on behalf of | ||
the American public, but you are also welcome to submit anonymously. | ||
|
||
Review the HHS Disclosure Policy and websites in scope: | ||
[https://www.hhs.gov/vulnerability-disclosure-policy/index.html](https://www.hhs.gov/vulnerability-disclosure-policy/index.html). | ||
|
||
This policy describes *what systems and types of research* are covered under this | ||
policy, *how to send* us vulnerability reports, and *how long* we ask security | ||
researchers to wait before publicly disclosing vulnerabilities. | ||
|
||
If you have other cybersecurity related questions, please contact us at | ||
[[email protected].](mailto:[email protected]). |