-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.21 KB
/
security-analysis-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Production Security Analysis Linux
on:
push:
branches:
- "master"
paths:
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
pull_request:
paths:
- ".github/workflows/**"
- "package.json"
- "package-lock.json"
schedule:
- cron: "00 13 1-31 1-12 1/2" # "At 13:00 on every day-of-month from 1 through 31 and on every 2nd day-of-week from Monday through Sunday in every month from January through December."
jobs:
production-security-analysis-linux:
if: "!contains(toJSON(github.event.commits.*.message), '[SKIP ANALYSIS]')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
language: ["typescript"]
os: ["ubuntu-18.04", "ubuntu-20.04", "ubuntu-latest"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
config-file: "./.github/configuration/security-analysis-shared-config.yml"
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1