inlinehashes/.github/workflows/codeql.yml

38 lines
837 B
YAML
Raw Permalink Normal View History

name: CodeQL
2022-04-01 20:41:21 +02:00
on:
push:
branches: [main]
2022-04-01 20:41:21 +02:00
pull_request:
branches: [main]
2022-04-01 20:41:21 +02:00
schedule:
- cron: "21 12 * * 5"
2022-04-01 20:41:21 +02:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["python"]
2022-04-01 20:41:21 +02:00
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
2022-04-01 20:41:21 +02:00
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
2022-04-01 20:41:21 +02:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2