Skip to content
Snippets Groups Projects
Commit b2c2f717 authored by samm2's avatar samm2
Browse files

add codeql scanning instead of lgtm

git-svn-id: https://svn.code.sf.net/p/smartmontools/code/trunk@5460 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent e9c29c12
No related branches found
No related tags found
No related merge requests found
name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "15 10 * * 6"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ javascript, cpp ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
if: ${{ matrix.language == 'javascript' || matrix.language == 'cpp' }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment