Skip to content

Commit

Permalink
fix failed pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
antonaleks committed Jan 10, 2024
1 parent abff99c commit 9bb95a4
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
- name: Setup Terraform
uses: hashicorp/[email protected]

- name: Run Checkov action # suppressed for now because it fails to copy a file inside a self-hosted runner
uses: bridgecrewio/checkov-action@v12
with:
quiet: true
directory: .
output_format: cli
framework: terraform,github_actions
container_user: 1000
# - name: Run Checkov action # suppressed for now because it fails to copy a file inside a self-hosted runner
# uses: bridgecrewio/checkov-action@v12
# with:
# quiet: true
# directory: .
# output_format: cli
# framework: terraform,github_actions
# container_user: 1000

- name: Lint Terraform
run: terraform fmt -diff -check -recursive
Expand All @@ -54,10 +54,8 @@ jobs:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
GitHub Terraform moudules pipeline was failed!
GitHub "Terraform modules" pipeline was failed!
Workflow: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
Repository: ${{ github.repository }}
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}}

0 comments on commit 9bb95a4

Please sign in to comment.