Skip to content

fix(ci): only trigger the conventional commits check on 4.0#17550

Merged
christopherco merged 1 commit into
microsoft:4.0from
dmcilvaney:damcilva/4.0/pipelines/only_run_conv_commit_on_40
May 29, 2026
Merged

fix(ci): only trigger the conventional commits check on 4.0#17550
christopherco merged 1 commit into
microsoft:4.0from
dmcilvaney:damcilva/4.0/pipelines/only_run_conv_commit_on_40

Conversation

@dmcilvaney
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 29, 2026 00:55
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

This PR narrows the PR title conventional-commits workflow so it only runs for pull requests targeting the 4.0 branch, while keeping the privileged pull_request_target workflow guarded to the main repository.

Changes:

  • Adds a branches: ["4.0"] filter to the pull_request_target trigger.
  • Adds comments documenting the pull_request_target safety rationale.
  • Adds a repository guard to avoid running copied workflow versions in forks.

@christopherco christopherco merged commit 4db188b into microsoft:4.0 May 29, 2026
12 checks passed
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.

4 participants