-
Notifications
You must be signed in to change notification settings - Fork 65
39 lines (36 loc) · 982 Bytes
/
codeql.yml
File metadata and controls
39 lines (36 loc) · 982 Bytes
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
name: "CodeQL Advanced"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '39 12 * * 2'
jobs:
analyze:
if: github.event_name != 'schedule' || github.repository == 'Calysto/octave_kernel'
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: python
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Analyze (${{ matrix.language }})
uses: calysto/maintainer_tools/actions/codeql@v1
with:
language: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}