Skip to content

Commit

Permalink
[ci] schedule code security and quality analyzer checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Nov 7, 2023
1 parent 9187c76 commit 472092a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'CodeQL'

on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
schedule:
- cron: '0 4 * * 1'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
actions: read
contents: read
security-events: write

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

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

# Initializes the CodeQL tools for scanning.
- uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality

- uses: github/codeql-action/analyze@v2

0 comments on commit 472092a

Please sign in to comment.