Update main.yml
This commit is contained in:
parent
71e39d44b5
commit
a0165838b3
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch: True
|
workflow_dispatch:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
@ -34,15 +34,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo Add other actions to build,
|
echo Add other actions to build,
|
||||||
echo test, and deploy your project.
|
echo test, and deploy your project.
|
||||||
|
- 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
|
||||||
with:
|
with:
|
||||||
# Source directory to scan. Defaults to /github/workspace
|
# Source directory to scan. Defaults to /github/workspace
|
||||||
src: # optional, default is /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: # optional, default is /github/workspace/reports
|
output: /github/workspace/reports
|
||||||
# Project type. Eg: credscan, java, python, nodejs, depscan etc. Comma separated values allowed.
|
# Project type. Eg: credscan, java, python, nodejs, depscan etc. Comma separated values allowed.
|
||||||
type: # optional
|
#type: # optional
|
||||||
|
Loading…
Reference in New Issue
Block a user