Add tflint gha workflow #180
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: | |
- pull_request | |
- push | |
jobs: | |
tfsec: | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tree | |
uses: actions/[email protected] | |
- name: Run tfsec | |
uses: aquasecurity/[email protected] | |
with: | |
sarif_file: tfsec.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/[email protected] | |
with: | |
sarif_file: tfsec.sarif |