From 8e1834464af9e773bd99869cd272e1aefb00e6aa Mon Sep 17 00:00:00 2001 From: Jheng-Hao Lin <124605405+jheng-hao-lin-cko@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:17:39 +0100 Subject: [PATCH] Update codeql-analysis.yml --- .github/workflows/codeql-analysis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 77346049..d9de7061 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -5,10 +5,15 @@ on: branches: [ master ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + types: [ opened, synchronize, reopened ] + branches: [ master, "bugfix/*", "feature/*", "release/*" ] schedule: - cron: '34 2 * * 0' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: analyze: name: Code Analyze