Skip to content

Commit

Permalink
Create codeql.yml (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmondal authored Dec 14, 2023
1 parent 449376b commit 1780c38
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: "Docs - CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
# Non-peak hour 1:21 AM on Saturdays.
- cron: '21 1 * * 6'

permissions: read-all

jobs:
analyze:
name: Analyze docs
runs-on: ['ubuntu-22.04']
timeout-minutes: 360
permissions:
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]

steps:
- name: Checkout
uses: >- # v4.1.1
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Initialize CodeQL
uses: >- # v3.22.11
github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: >- # v3.22.11
github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c
with:
category: "/language:${{matrix.language}}"

0 comments on commit 1780c38

Please sign in to comment.