mirror of
https://github.com/Azure/co-op-translator
synced 2026-08-09 12:00:08 +00:00
39 lines
711 B
YAML
39 lines
711 B
YAML
name: CodeQL
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
schedule:
|
|
- cron: "32 4 * * 1"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
concurrency:
|
|
group: codeql-${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze Python
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: python
|
|
|
|
- name: Perform CodeQL analysis
|
|
uses: github/codeql-action/analyze@v3
|
|
with:
|
|
category: "/language:python"
|