Skip to content

Commit

Permalink
add SAST scanning
Browse files Browse the repository at this point in the history
Refs #84

Signed-off-by: Justin Abrahms <[email protected]>
  • Loading branch information
justinabrahms committed Oct 3, 2022
1 parent 56ca085 commit 4f240b4
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/static-code-scanning.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Code Scanning - Action"

# Docs for this at https://github.com/github/codeql-action#usage

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '30 1 * * 1'

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 4f240b4

Please sign in to comment.