Skip to content

Commit 4f240b4

Browse files
committed
add SAST scanning
Refs #84 Signed-off-by: Justin Abrahms <[email protected]>
1 parent 56ca085 commit 4f240b4

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "Code Scanning - Action"
2+
3+
# Docs for this at https://github.com/github/codeql-action#usage
4+
5+
on:
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
schedule:
11+
# ┌───────────── minute (0 - 59)
12+
# │ ┌───────────── hour (0 - 23)
13+
# │ │ ┌───────────── day of the month (1 - 31)
14+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
15+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
16+
# │ │ │ │ │
17+
# │ │ │ │ │
18+
# │ │ │ │ │
19+
# * * * * *
20+
- cron: '30 1 * * 1'
21+
22+
jobs:
23+
CodeQL-Build:
24+
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
25+
runs-on: ubuntu-latest
26+
27+
permissions:
28+
# required for all workflows
29+
security-events: write
30+
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v3
34+
35+
# Initializes the CodeQL tools for scanning.
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@v2
38+
39+
- name: Autobuild
40+
uses: github/codeql-action/autobuild@v2
41+
42+
- name: Perform CodeQL Analysis
43+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)