-
Notifications
You must be signed in to change notification settings - Fork 3.1k
47 lines (40 loc) · 1.31 KB
/
codeql-scan-core.yml
File metadata and controls
47 lines (40 loc) · 1.31 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
47
name: codeql
on:
push:
branches: ["dev", "release/*", "stable/*"]
pull_request:
branches: ["dev", "release/*", "stable/*"]
paths-ignore:
- "docs/**"
schedule:
- cron: "32 1 * * 2"
jobs:
analyze:
if: github.repository == 'opf/openproject'
name: Analyze
runs-on: "ubuntu-latest"
timeout-minutes: 120
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: ["javascript-typescript", "ruby"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
config-file: ./.github/codeql/config.yml
languages: ${{ matrix.language }}
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"