Skip to content

Commit

Permalink
Fix #988: Enhance codeql analysis script (#989)
Browse files Browse the repository at this point in the history
* Fix #988: Enhance codeql analysis script
- Enhance codeql-analysis triggers
  • Loading branch information
jandusil authored Aug 30, 2023
1 parent 5483190 commit c212224
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@ name: "CodeQL"

on:
workflow_dispatch:
branches:
- 'develop'
push:
branches: [ develop, master ]
branches: [ 'develop', 'master', 'releases/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
branches: [ 'develop', 'master', 'releases/**' ]
schedule:
- cron: '0 2 * * 4'

jobs:
codeql-analysis:
uses: wultra/wultra-infrastructure/.github/workflows/codeql-analysis.yml@develop
secrets: inherit
with:
languages: "['java', 'javascript']"
secrets: inherit
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
java-version: 17
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both

0 comments on commit c212224

Please sign in to comment.