forked from magma/magma
-
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.
ci(orc8r): Added Terraform Lint CI Check (magma#12081)
* ci(orc8r): Added Terraform Lint CI Check Signed-off-by: Shubham Tatvamasi <shubhamtatvamasi@gmail.com> * fixed yaml lint Signed-off-by: Shubham Tatvamasi <shubhamtatvamasi@gmail.com> * fixed yaml indentation Signed-off-by: Shubham Tatvamasi <shubhamtatvamasi@gmail.com> * Used lint action from marketplace Signed-off-by: Shubham Tatvamasi <shubhamtatvamasi@gmail.com> * indent bug fix Signed-off-by: Shubham Tatvamasi <shubhamtatvamasi@gmail.com>
- Loading branch information
1 parent
57684dc
commit 6b2c08e
Showing
3 changed files
with
28 additions
and
6 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,22 @@ | ||
--- | ||
name: Terraform Lint | ||
|
||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- master | ||
- 'v1.*' | ||
pull_request: | ||
branches: | ||
- master | ||
- 'v1.*' | ||
|
||
jobs: | ||
terraform-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Terraform Lint | ||
uses: ShubhamTatvamasi/terraform-lint-action@v1 |
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