forked from majianjia/nnom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
######################## | ||
######################## | ||
## SAST GitHub Action ## | ||
######################## | ||
######################## | ||
name: SAST | ||
|
||
####################################### | ||
# Start the job on all push to master # | ||
####################################### | ||
on: | ||
push: | ||
pull_request: | ||
branches: ['sast'] | ||
|
||
############### | ||
# Set the Job # | ||
############### | ||
jobs: | ||
build: | ||
# Name the Job | ||
name: SAST | ||
|
||
# Set the agent to run on | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
################## | ||
# Load all steps # | ||
################## | ||
steps: | ||
########################## | ||
# Checkout the code base # | ||
########################## | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
##################### | ||
# Run Deploy script # | ||
##################### | ||
- name: Run SAST check | ||
uses: IvanKuchin/SAST@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
env: | ||
LOG_VERBOSE: true | ||
|
bb15505
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaws found