forked from instrumenta/openapi2jsonschema
-
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 1.04 KB
/
codeql.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "CodeQL analysis"
on:
push:
tags: ["*"]
branches: ["*"]
pull_request:
branches: ["*"]
schedule:
- cron: "25 10 * * 3"
workflow_dispatch:
permissions: {}
jobs:
analyze:
name: "CodeQL analysis (${{ matrix.language }})"
runs-on: "ubuntu-latest"
permissions:
actions: "read"
contents: "read"
security-events: "write"
strategy:
fail-fast: false
matrix:
language: ["python"]
steps:
- name: "Checkout"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- name: "Initialize CodeQL"
uses: "github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88"
with:
languages: "${{ matrix.language }}"
- name: "Autobuild"
uses: "github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88"
- name: "Perform CodeQL Analysis"
uses: "github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88"