From 306515f5f02355082b53a18d378ea4b345c81e1e Mon Sep 17 00:00:00 2001 From: Jan Dusil <134381434+jandusil@users.noreply.github.com> Date: Thu, 24 Aug 2023 14:19:04 +0200 Subject: [PATCH] Fix #1400: Add CodeQL Analysis (#1401) * Fix #1400: Add CodeQL Analysis - Add codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..f0b68ed2a --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,22 @@ +name: "CodeQL" + +on: + workflow_dispatch: + push: + branches: [ 'develop', 'master', 'releases/**' ] + pull_request: + # The branches below must be a subset of the branches above + 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']" + # 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 \ No newline at end of file