mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
ade929bc90
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 75b4f1c4669133dc294b06c2794e969efa2e5316 to 2.1.11. This release includes the previously tagged commit.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](75b4f1c466...a3a6c128d7
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
939 B
YAML
37 lines
939 B
YAML
name: tfsec
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.tf'
|
|
pull_request:
|
|
paths:
|
|
- '**.tf'
|
|
workflow_dispatch: # Manual dispatch
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
tfsec:
|
|
permissions:
|
|
contents: read # for actions/checkout to fetch code
|
|
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
|
|
name: tfsec sarif report
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repo
|
|
uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089
|
|
|
|
- name: tfsec
|
|
uses: tfsec/tfsec-sarif-action@56bc584a8377626a31e511056772298ccfa69501
|
|
with:
|
|
sarif_file: tfsec.sarif
|
|
|
|
- name: Upload SARIF file
|
|
uses: github/codeql-action/upload-sarif@a3a6c128d771b6b9bdebb1c9d0583ebd2728a108 # v1
|
|
with:
|
|
# Path to SARIF file relative to the root of the repository
|
|
sarif_file: tfsec.sarif
|