zero-ui/.github/workflows/codeql-analysis.yml
2023-10-04 21:40:02 +01:00

37 lines
661 B
YAML

name: CodeQL
on:
push:
tags:
- "v*.*.*"
pull_request:
branches: [main]
schedule:
- cron: "30 2 * * 6"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
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