-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (40 loc) · 1.15 KB
/
Copy pathcodeql.yml
File metadata and controls
46 lines (40 loc) · 1.15 KB
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
40
41
42
43
44
45
46
# SPDX-License-Identifier: MPL-2.0
# This workflow is managed by gh actions-lock.
# This workflow is managed by gh actions-lock.
name: CodeQL Security Analysis
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: '0 6 1 * *' # monthly 1st 06:00 UTC
permissions: read-all
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v4.31.10
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4.31.10
with:
category: "/language:${{ matrix.language }}"
- name: K9-SVC Validation
run: |
echo "K9-SVC validation"
[ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"