Skip to content

pass in year argument properly #7031

pass in year argument properly

pass in year argument properly #7031

name: CodeQL Security Checks
on:
push:
workflow_dispatch:
concurrency:
group: codeql-s-scan-${{ github.ref }}
cancel-in-progress: true
jobs:
codeql-build-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install CodeQL
run: |
cd ../
wget https://github.com/github/codeql-cli-binaries/releases/latest/download/codeql-linux64.zip
unzip codeql-linux64.zip
- name: Build Database
run: |
export PATH=$PATH:${GITHUB_WORKSPACE}/../codeql/
./codeql/build_db.sh
- name: Create Report
run: |
export PATH=$PATH:${GITHUB_WORKSPACE}/../codeql/
./codeql/create_codeql_report.sh
- name: Analyze Reports - Pass or Fail Build
run: |
cd codeql/sarif_reporter/
npm install
npm run compile
cat ../../codeql.sarif | npm run-script run -- --ignore-file=../ignore.yaml