Add CodeQL Analysis

This commit is contained in:
Aleksandar Ivanov
2021-09-13 20:36:37 +03:00
committed by GitHub
parent 6c7af44f09
commit 09ae50704f

29
.github/workflows/codeql-analysis.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: CodeQL Analysis
on:
push:
# ignore dependabot branches on push -> https://github.com/microsoft/binskim/issues/425#issuecomment-893373709
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: python
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)