Skip to content

Merge pull request #1458 from codidact/0valt/1457/draft-tags #4629

Merge pull request #1458 from codidact/0valt/1457/draft-tags

Merge pull request #1458 from codidact/0valt/1457/draft-tags #4629

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