Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Update codeql configuration

Oliver Güntherd70a746d8f5d
diff --git a/.github/workflows/codeql-scan-core.yml b/.github/workflows/codeql-scan-core.yml
index 851878a55db..39af5c08b05 100644
--- a/.github/workflows/codeql-scan-core.yml
+++ b/.github/workflows/codeql-scan-core.yml
@@ -1,35 +1,43 @@
name: codeql
on:
+ push:
+ branches: [ "dev", "release/*", "stable/*" ]
pull_request:
- branches:
- - dev
- - release/*
+ branches: [ "dev", "release/*", "stable/*" ]
schedule:
- - cron: '55 5 * * 1-5'
+ - cron: '32 1 * * 2'
jobs:
analyze:
name: Analyze
- runs-on: ubuntu-latest
+ 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
- security-events: write
strategy:
fail-fast: false
matrix:
- language: [ 'javascript', 'ruby' ]
+ language: [ 'javascript-typescript', 'ruby' ]
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Initialize CodeQL
- uses: github/codeql-action/init@v2
+ uses: github/codeql-action/init@v3
with:
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@v2
+ uses: github/codeql-action/analyze@v3
+ with:
+ category: "/language:${{matrix.language}}"