Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hazmei committed Jul 24, 2024
1 parent 02e89e0 commit e1f5510
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
tf_actions_working_dir: ./terraform

jobs:
build:
validate:
permissions:
contents: read
pull-requests: write
Expand All @@ -23,29 +23,23 @@ jobs:
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3

- name: Terraform fmt
id: fmt
run: |
terraform fmt -check
continue-on-error: true

- name: Terraform init
id: init
run: |
terraform version
terraform init
- name: Terraform fmt
id: fmt
run: |
terraform fmt -check
continue-on-error: true

- name: Terraform validate
id: validate
run: |
terraform validate -no-color
# - name: Terraform Plan
# id: plan
# run: |
# terraform plan -no-color
# continue-on-error: true

- uses: actions/github-script@v7
if: github.event_name == 'pull_request'
with:
Expand Down

0 comments on commit e1f5510

Please sign in to comment.