Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Emterry committed Sep 25, 2023
1 parent 2feb738 commit e726143
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/reusable-workflow-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
id: checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Prepare Environment
id: prepare_environment
shell: bash
run: |
workingDirectory=$(yq -e ".${{ inputs.component }}" .github/path-filter/terraform.yml | sed 's/.\{3\}$//')
export workingDirectory
echo "working-directory=${workingDirectory}" >>"${GITHUB_ENV}"
# - name: Prepare Environment
# id: prepare_environment
# shell: bash
# run: |
# workingDirectory=$(yq -e ".${{ inputs.component }}" .github/path-filter/terraform.yml | sed 's/.\{3\}$//')
# export workingDirectory

# echo "working-directory=${workingDirectory}" >>"${GITHUB_ENV}"

- name: Checkov
if: github.ref != 'refs/heads/main'
Expand Down

0 comments on commit e726143

Please sign in to comment.