klog/.github/workflows/sast.yaml
2021-09-07 11:05:33 +02:00

47 lines
958 B
YAML

---
########################
########################
## SAST GitHub Action ##
########################
########################
name: SAST
#######################################
# Start the job on all push to master #
#######################################
on:
push:
pull_request:
branches: ['master']
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: SAST
# Set the agent to run on
runs-on: ubuntu-latest
##################
# 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