[pre-commit.ci] auto fixes from pre-commit.com hooks #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: tfsec | |
# on: | |
# push: | |
# branches: | |
# - master | |
# jobs: | |
# tfsec: | |
# name: tfsec sarif report | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Clone repo | |
# uses: actions/checkout@master | |
# - name: tfsec | |
# uses: aquasecurity/[email protected] | |
# with: | |
# sarif_file: tfsec.sarif | |
# working_directory: ./_example/ | |
# full_repo_scan: true | |
# - name: Upload SARIF file | |
# uses: github/codeql-action/upload-sarif@v1 | |
# with: | |
# # Path to SARIF file relative to the root of the repository | |
# sarif_file: tfsec.sarif | |
# - name: tfsec commenter for PR | |
# uses: tfsec/[email protected] | |
# with: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB}} | |
# working_directory: ./_example/ | |
# - name: 'Terraform security scan Advanced' | |
# uses: triat/[email protected] | |
# if: github.event_name == 'pull_request' | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB}} | |
# tfsec_actions_working_dir: ./_example/ | |
# tfsec_actions_comment: true | |
# tfsec_output_format: sarif | |
# continue-on-error: true |