Skip to content

Commit

Permalink
fix(terraform-plan): skip conftest if skip label is set (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Oct 18, 2024
1 parent 690f5db commit 076458f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terraform-plan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ runs:
TF_COMMAND: ${{ steps.target-config.outputs.terraform_command }}

- uses: suzuki-shunsuke/tfaction/conftest@main
if: |
env.TFACTION_DRIFT_ISSUE_NUMBER || !fromJSON(steps.check-terraform-skip.outputs.skip_terraform)
with:
plan: "true"
github_token: ${{inputs.github_token}}
Expand Down

0 comments on commit 076458f

Please sign in to comment.