Compare commits

...

1 Commits

Author SHA1 Message Date
Pauline Bailly-Masson
60cdb52f19 Add codeQL workflow
Updated CodeQL workflow to use reusable workflow from Hugging Face and simplified language matrix.
2026-01-06 16:34:57 +01:00

22
.github/workflows/codeql.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
---
name: CodeQL Security Analysis For Github Actions
on:
push:
branches: ["main"]
workflow_dispatch:
# pull_request:
jobs:
codeql:
name: CodeQL Analysis
uses: huggingface/security-workflows/.github/workflows/codeql-reusable.yml@v1
permissions:
security-events: write
packages: read
actions: read
contents: read
with:
languages: '["actions","python"]'
queries: 'security-extended,security-and-quality'
runner: 'ubuntu-latest' #optional if need custom runner