Action
This commit is contained in:
parent
8b5470e1b0
commit
e9aa062840
.github/workflows
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -35,13 +35,24 @@ jobs:
|
|||||||
uses: RobertFischer/detect-secrets-action@v2.0.0
|
uses: RobertFischer/detect-secrets-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
DS_ADDL_ARGS: '--only-verified'
|
DS_ADDL_ARGS: '--only-verified'
|
||||||
|
- name: Commit back .secrets.baseline (if it was missing)
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
if: ${{ always() }}
|
||||||
|
with:
|
||||||
|
commit_message: "build(detect-secrets): Commit the newly-generated .secrets.baseline file"
|
||||||
|
- name: detect-secrets with reviewdog
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: reviewdog/action-detect-secrets@master
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.github_token }}
|
||||||
|
reporter: github-pr-review # Change reporter.
|
||||||
- name: Security and Licence Scan
|
- name: Security and Licence Scan
|
||||||
# You may pin to the exact commit or the version.
|
# You may pin to the exact commit or the version.
|
||||||
# uses: ShiftLeftSecurity/scan-action@54980bbdae434b8e7903cfcffa98a2601c207962
|
# uses: ShiftLeftSecurity/scan-action@54980bbdae434b8e7903cfcffa98a2601c207962
|
||||||
uses: ShiftLeftSecurity/scan-action@v1.3.0
|
uses: ShiftLeftSecurity/scan-action@v1.3.0
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
|
# Source directory to scan. Defaults to /github/workspace
|
||||||
with:
|
with:
|
||||||
# Source directory to scan. Defaults to /github/workspace
|
|
||||||
src: /github/workspace
|
src: /github/workspace
|
||||||
# Output directory for the generated reports. Defaults to /github/workspace/reports
|
# Output directory for the generated reports. Defaults to /github/workspace/reports
|
||||||
output: /github/workspace/reports
|
output: /github/workspace/reports
|
||||||
|
Loading…
Reference in New Issue
Block a user