diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 694aa787..394057e4 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, v2.0 ] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [ main, v2.0 ] schedule: - cron: '26 23 * * 0' diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 51ad95b7..aac7eb18 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,9 +9,9 @@ name: Go CI on: push: - branches: [main] + branches: [ main, v2.0] pull_request: - branches: [main] + branches: [ main, v2.0] permissions: contents: read