⬆️ (deps-ghaction): Bump reviewdog/action-tfsec from 1.27.1 to 1.28.2 in the github-actions group across 1 directory #664
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
types: [ opened, synchronize, reopened ] | |
schedule: | |
- cron: '42 15 * * 6' | |
jobs: | |
tfsec: | |
name: Security Scan Terraform Code | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
pull-requests: write | |
steps: | |
- uses: webfactory/[email protected] | |
with: | |
ssh-private-key: | | |
${{ secrets.ORG_ACCESS_SSH_KEY }} | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Run tfsec | |
uses: aquasecurity/[email protected] | |
with: | |
sarif_file: tfsec.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: tfsec.sarif | |
- name: Add Code Review | |
uses: reviewdog/[email protected] | |
with: | |
github_token: ${{ github.token }} | |
reporter: github-pr-review |