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 dde5bdf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
22 changes: 9 additions & 13 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 All @@ -68,9 +65,8 @@ jobs:
ignore-unfixed: true
format: sarif
exit-code: '1'
output: trivy-results.sarif
severity: CRITICAL,HIGH
skip-dirs: scripts/,containers/,devcontainer/
severity: HIGH
skip-dirs: containers/

- name: Check for Static Analysis Override Label
if: github.ref != 'refs/heads/main'
Expand Down
1 change: 1 addition & 0 deletions terraform/pagerduty/business-services.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ module "business_services" {
module.technical_services
]
}

0 comments on commit dde5bdf

Please sign in to comment.