mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Updated CodeQL workflow to use reusable workflow from Hugging Face and simplified language matrix.
23 lines
530 B
YAML
23 lines
530 B
YAML
---
|
|
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
|