Skip to content

CodeQL

CodeQL #302

name: "CodeQL"
on:
push:
branches: [master,main]
pull_request:
branches: [master,main]
schedule:
- cron: '0 11 * * 2'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4
with:
fetch-depth: 2
-
name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
-
name: Setup Hugo
uses: peaceiris/actions-hugo@v3
-
name: hugo build
run: hugo --minify --gc --config=config.yaml
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3