Skip to content

Commit

Permalink
Create .github/workflows/codeql.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriro committed Sep 28, 2022
1 parent f2489c6 commit 59c5ab3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yml
@@ -0,0 +1,32 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '29 1 2 * *'
workflow_dispatch:

jobs:
Analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit 59c5ab3

Please sign in to comment.