Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

CodeQL - Javascript #14

CodeQL - Javascript

CodeQL - Javascript #14

name: "CodeQL - Javascript"
on:
push:
branches: [ main ]
paths:
- '**/*.js'
- '**/package.json'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
paths:
- '**/*.js'
- '**/package.json'
workflow_dispatch:
schedule:
- cron: '38 20 * * 3'
jobs:
analyze:
if: github.repository_owner == 'sproutsocial'
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2