mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-03-07 15:56:50 +00:00
32 lines
688 B
YAML
32 lines
688 B
YAML
---
|
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
name: "CodeQL"
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
schedule:
|
|
- cron: " - cron: '30 1 * * 0' # Run at 1:30 AM UTC every Sunday"
|
|
merge_group:
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ["actions", "javascript-typescript"]
|
|
steps:
|
|
- name: CodeQL Analysis
|
|
uses: ivuorinen/actions/codeql-analysis@main
|
|
with:
|
|
language: ${{ matrix.language }}
|