ci: split web and workflow codeql (#14067)

This commit is contained in:
Constrat
2025-09-10 16:25:55 +02:00
committed by GitHub
parent 694d78be1c
commit 139e79655d
2 changed files with 38 additions and 24 deletions

36
.github/workflows/codeql-wf.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: "CodeQL Workflows Analysis"
on:
pull_request:
branches: ["dev"]
paths:
- ".github/**/*.yml"
schedule:
- cron: "00 12 * * *" # Runs daily at 12:00 UTC
workflow_dispatch:
permissions:
actions: write
contents: read
security-events: write
jobs:
analyze-workflows:
name: Analyze GitHub Workflows
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
show-progress: false
- name: Setup CodeQL for GitHub Actions
uses: github/codeql-action/init@v3
with:
languages: actions
build-mode: none
- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:multi-none"