mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 08:58:52 +00:00
026eb86f5f
* Add release to codeql and queries to match lgtm * Add lgtm config file * Custom codeQL config to ignore app.js * Custom config for lgtm * Remove query filter for lgtm * Updated the security test docs * Remove lgtm.yml and delete app.js references * Update codeql-config.yml Co-authored-by: Alize Nguyen <alizenguyen@gmail.com> Co-authored-by: Andrew Henry <akhenry@gmail.com>
45 lines
977 B
YAML
45 lines
977 B
YAML
name: 'CodeQL'
|
|
|
|
on:
|
|
push:
|
|
branches: [master, 'release/*']
|
|
pull_request:
|
|
branches: [master, 'release/*']
|
|
paths-ignore:
|
|
- '**/*Spec.js'
|
|
- '**/*.md'
|
|
- '**/*.txt'
|
|
- '**/*.yml'
|
|
- '**/*.yaml'
|
|
- '**/*.spec.js'
|
|
- '**/*.config.js'
|
|
schedule:
|
|
- cron: '28 21 * * 3'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
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
|
|
with:
|
|
config-file: ./.github/codeql/codeql-config.yml
|
|
languages: javascript
|
|
queries: security-and-quality
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v2
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|