Skip to content

CodeQL analysis

CodeQL analysis #4608

name: "CodeQL analysis"
on:
push:
branches:
- develop
pull_request:
branches:
- develop
schedule:
- cron: '0 21 * * *'
jobs:
analyze:
name: Analyze JS and Ruby
runs-on: ubuntu-latest
# Apply principle of least privilege to GITHUB_TOKEN
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript, ruby
# Actually perform an analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2