From cae86af14f682415df13c781000c796b39648595 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Wed, 8 Nov 2023 01:07:27 +0000 Subject: [PATCH] ci: add rules for 'rel-**' branches Signed-off-by: Ramkumar Chinchani (cherry picked from commit bf12168948407a5ab6b8c3f7b4ee5dade3b8415a) Signed-off-by: Ramkumar Chinchani --- .github/workflows/ci.yaml | 2 ++ .github/workflows/cloc.yml | 2 ++ .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/commit-msg.yaml | 1 + .github/workflows/dco.yml | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 79b3bc48..88c37e56 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,9 +4,11 @@ on: push: branches: - main + - rel-** pull_request: branches: - main + - rel-** jobs: build: diff --git a/.github/workflows/cloc.yml b/.github/workflows/cloc.yml index ba0bc76d..a99dcbe3 100644 --- a/.github/workflows/cloc.yml +++ b/.github/workflows/cloc.yml @@ -3,9 +3,11 @@ on: push: branches: - main + - rel-** pull_request: branches: - main + - rel-** release: types: - published diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d36761e3..6f1b579f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ main ] + branches: [ main, rel-** ] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [ main, rel-** ] schedule: - cron: '17 11 * * 0' diff --git a/.github/workflows/commit-msg.yaml b/.github/workflows/commit-msg.yaml index 4c42605b..43e05ad8 100644 --- a/.github/workflows/commit-msg.yaml +++ b/.github/workflows/commit-msg.yaml @@ -9,6 +9,7 @@ on: push: branches: - main + - rel-** jobs: check-commit-message-style: diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml index 5123a88f..ed8c0bc1 100644 --- a/.github/workflows/dco.yml +++ b/.github/workflows/dco.yml @@ -4,6 +4,7 @@ on: pull_request: branches: - main + - rel-** permissions: read-all