forked from instrumenta/openapi2jsonschema
-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 1.02 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
39
# 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'
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@692973e3d937129bcbf40652eb9f2f61becf3332'
- name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c'
with:
languages: '${{ matrix.language }}'
- name: 'Autobuild'
uses: 'github/codeql-action/autobuild@b611370bb5703a7efb587f9d136a52ea24c5c38c'
- name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c'