Skip to content

build: restrict PR workflows to main and release branches - #334835

Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
agents/workflow-consistency-non-main-branches
Sep 7, 2026
Merged

build: restrict PR workflows to main and release branches#334835
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
agents/workflow-consistency-non-main-branches

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator
  • restrict the chat-lib, telemetry, and Copilot setup workflows to PRs targeting main or release/*
  • preserve the existing manual, push, and path-filter behavior
  • align all active PR workflows on explicit base-branch filtering

Run PR-only validation workflows only for changes targeting main or release branches, matching the existing Code OSS workflow behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

All reviewed workflow changes are focused and have no unresolved issues.

Review tier: Balanced
Findings: None

What changed in this PR

Restricts selected GitHub Actions workflows to pull requests targeting main or release/*.

Changes:

  • Adds explicit base-branch filters to three workflows.
  • Preserves existing manual, push, and path-filter behavior.
File Description
.github/​workflows/​telemetry.yml Filters telemetry checks by PR base branch.
.github/​workflows/​copilot-setup-steps.yml Adds branch filtering while preserving existing triggers.
.github/​workflows/​chat-lib-package.yml Filters chat-lib tests while retaining manual dispatch.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) merged commit 5a67e0f into main Sep 7, 2026
36 checks passed
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the agents/workflow-consistency-non-main-branches branch September 7, 2026 07:29
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineering VS Code - Build / issue tracking / etc. vscode-build VS Code build process issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants