Fix branch triggers: Update workflows to target both main and release branches
- CORRECTED: Include both main and release-* branch patterns - Ensures workflows run on both main branch (original functionality) and release branches (needed for backport) - Previous commit incorrectly removed main branch support - Workflows updated: documentation-ci, pr-codeql-analysis-*, pr-dependabot-update-go-workspace, pr-go-workspace-check, pr-k8s-codegen-check, verify-kinds, codeowners-validator
This commit is contained in:
8 files changed
+8
-8
No files matched your search
@@ -2,7 +2,7 @@ name: "Codeowners Validator"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ release-* ]
|
||||
branches: [ main, release-* ]
|
||||
|
||||
permissions: {}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Documentation CI
|
||||
on:
|
||||
pull_request:
|
||||
branches: ["release-*"]
|
||||
branches: ["main", "release-*"]
|
||||
paths: ["docs/sources/**"]
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ name: "CodeQL for PR / javascript"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [release-*]
|
||||
branches: [main, release-*]
|
||||
paths:
|
||||
- '**/*.js'
|
||||
- '**/*.ts'
|
||||
|
||||
@@ -3,7 +3,7 @@ name: "CodeQL for PR / python"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [release-*]
|
||||
branches: [main, release-*]
|
||||
paths:
|
||||
- '**/*.py'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: "Update Go Workspace for Dependabot PRs"
|
||||
on:
|
||||
pull_request:
|
||||
branches: [release-*]
|
||||
branches: [main, release-*]
|
||||
paths:
|
||||
- .github/workflows/pr-dependabot-update-go-workspace.yml
|
||||
- go.mod
|
||||
|
||||
@@ -3,7 +3,7 @@ name: "Go Workspace Check"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [release-*]
|
||||
branches: [main, release-*]
|
||||
paths:
|
||||
- .github/workflows/pr-go-workspace-check.yml
|
||||
- go.mod
|
||||
|
||||
@@ -3,7 +3,7 @@ name: "K8s Codegen Check"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [release-*]
|
||||
branches: [main, release-*]
|
||||
paths:
|
||||
- "pkg/apis/**"
|
||||
- "pkg/aggregator/apis/**"
|
||||
|
||||
@@ -2,7 +2,7 @@ name: "verify-kinds"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ release-* ]
|
||||
branches: [ main, release-* ]
|
||||
paths:
|
||||
- '**/*.cue'
|
||||
|
||||
|
||||
Reference in new issue
Block a user