Skip to content

Add 'release-*' branches for pull_request_target to run CI on release branches#2603

Merged
pankajkoti merged 1 commit into
mainfrom
run-ci-on-release-branches
Apr 23, 2026
Merged

Add 'release-*' branches for pull_request_target to run CI on release branches#2603
pankajkoti merged 1 commit into
mainfrom
run-ci-on-release-branches

Conversation

@pankajkoti
Copy link
Copy Markdown
Contributor

It appears we're missing running tests when creating release PRs for micro releases.

Observed in 1.13.1 PR #2388
and 1.14.1 PR #2601

This is an attempt to check if we can run tests there.

Copilot AI review requested due to automatic review settings April 23, 2026 10:48
@pankajkoti pankajkoti force-pushed the run-ci-on-release-branches branch from 885dd4f to a84216b Compare April 23, 2026 10:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GitHub Actions branch filters so CI workflows run for pull requests targeting release branches (e.g., micro-release/backport PRs), not just main.

Changes:

  • Expand test.yml’s pull_request_target trigger to include release-* base branches so CI runs on release-branch PRs.
  • Expand docs-build.yml, codeql.yml, and actionlint.yml pull_request triggers to include release-* base branches.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/test.yml Runs the main CI workflow on PRs targeting release-* branches via pull_request_target.
.github/workflows/docs-build.yml Enables docs build workflow on PRs targeting release-* branches.
.github/workflows/codeql.yml Enables CodeQL analysis on PRs targeting release-* branches.
.github/workflows/actionlint.yml Enables workflow linting on PRs targeting release-* branches.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@tatiana tatiana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @pankajkoti !

@pankajkoti pankajkoti merged commit ce6f916 into main Apr 23, 2026
120 of 123 checks passed
@pankajkoti pankajkoti deleted the run-ci-on-release-branches branch April 23, 2026 10:54
pankajkoti added a commit that referenced this pull request Apr 23, 2026
… branches (#2603)

It appears we're missing running tests when creating release PRs for
micro releases.

Observed in 1.13.1 PR
#2388
and 1.14.1 PR #2601

This is an attempt to check if we can run tests there.

(cherry picked from commit ce6f916)
@pankajkoti pankajkoti self-assigned this Apr 23, 2026
@tatiana tatiana added this to the Cosmos 1.15.0 milestone May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants