From 2b7a989e291c832b72b17b1165a0f59fd73763da Mon Sep 17 00:00:00 2001 From: LearningGp Date: Thu, 1 Feb 2024 19:45:41 +0800 Subject: [PATCH] Update workflows (#3325) --- .github/workflows/ci.yml | 10 ++++++++-- .github/workflows/codeql-analysis.yml | 11 ++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23fab77f..0e6363fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,15 @@ name: Sentinel CI on: push: - branches: [ master ] + branches: + - master + - "1.8" + - "2.0" pull_request: - branches: [ master ] + branches: + - master + - "1.8" + - "2.0" jobs: build: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e6578b32..8cd76731 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,10 +2,15 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: + - master + - "1.8" + - "2.0" pull_request: - # The branches below must be a subset of the branches above - branches: [ "master" ] + branches: + - master + - "1.8" + - "2.0" schedule: - cron: '00 09 * * 3'