Files
rfd/.github/workflows/codeql-analysis.yml
Dave Gallant a5d1bb197d Create codeql-analysis.yml (#71)
* Create codeql-analysis.yml

* Update .github/PULL_REQUEST_TEMPLATE.md
2020-07-01 18:54:52 -04:00

28 lines
496 B
YAML

name: "Code scanning - action"
on:
push:
pull_request:
schedule:
- cron: '0 4 * * 1'
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1