Skip to content

Commit

Permalink
undo last change
Browse files Browse the repository at this point in the history
  • Loading branch information
Emterry committed Sep 25, 2023
1 parent e726143 commit 9f6810a
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/reusable-workflow-terraform.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
workflow_call:
inputs:
component:
Expand Down Expand Up @@ -38,14 +35,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
- 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}"
echo "working-directory=${workingDirectory}" >>"${GITHUB_ENV}"
- name: Checkov
if: github.ref != 'refs/heads/main'
Expand Down

0 comments on commit 9f6810a

Please sign in to comment.