Skip to content

Commit 81ae2e8

Browse files
committed
fix: conditional logic
1 parent 125e2d1 commit 81ae2e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/terraform-docs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
defaults:
5656
run:
5757
working-directory: ${{ inputs.working_directory }}
58-
if: ${{ inputs.use_terragrunt == false && github.actor != 'dependabot[bot]' }}
58+
if: !inputs.use_terragrunt && github.actor != 'dependabot[bot]'
5959
runs-on: ${{ inputs.jobs_run_on }}
6060
steps:
6161
- name: Checkout repo
@@ -76,7 +76,7 @@ jobs:
7676
working-directory: ${{ inputs.working_directory }}
7777
env:
7878
DISABLE_INIT: true
79-
if: ${{ inputs.use_terragrunt == false && github.actor != 'dependabot[bot]' }}
79+
if: inputs.use_terragrunt && github.actor != 'dependabot[bot]'
8080
runs-on: ${{ inputs.jobs_run_on }}
8181
steps:
8282
- name: Checkout repo

0 commit comments

Comments
 (0)