Skip to content

Improve checkHeaders --type changes to diff against default branch#1694

Merged
tortmayr merged 1 commit into
masterfrom
fix-repo
Jun 10, 2026
Merged

Improve checkHeaders --type changes to diff against default branch#1694
tortmayr merged 1 commit into
masterfrom
fix-repo

Conversation

@tortmayr

Copy link
Copy Markdown
Contributor

Also:

  • Add resolveRepoDir so server-node bundle commands accept a --dir pointing at the workspace or the repo itself

What it does

  • Diff against the default branch (merge-base) instead of only considering uncommitted changes, to match a PR's changed files
  • Add getChangesComparedToDefaultBranch and an offline getDefaultBranchRef helper
  • Update --type help and add unit and e2e coverage

How to test

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)

- Diff against the default branch (merge-base) instead of only considering uncommitted changes, to match a PR's changed files
- Add getChangesComparedToDefaultBranch and an offline getDefaultBranchRef helper
- Update --type help and add unit and e2e coverage

Also:
- Add resolveRepoDir so server-node bundle commands accept a --dir pointing at the workspace or the repo itself
@tortmayr tortmayr merged commit baae36f into master Jun 10, 2026
4 checks passed
@tortmayr tortmayr deleted the fix-repo branch June 10, 2026 13:41
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.

1 participant