Skip to content

chore: credit external contributors in pending changesets - #3494

Open
shrey150 wants to merge 1 commit into
mainfrom
chore/credit-external-changesets
Open

shrey150 wants to merge 1 commit into
mainfrom
chore/credit-external-changesets

Conversation

@shrey150

@shrey150 shrey150 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Pending changesets from claimed external PRs were credited to @github-actions in the release PRs, because the mirror PR that merged is authored by the bot and @changesets/changelog-github credits the merged PR's author.

This adds pr:, commit: and author: override lines (supported by @changesets/changelog-github 0.7.0) so each entry links the contributor's original PR, the merged commit, and thanks the contributor. Summary text is unchanged.

Changeset Mirror PR Original PR Author
cli-daemon-utf8-chunks #3473 #3463 harjothkhara
empty-response-header-values #3437 #3422 aryansahai22
host-only-cookie-matching #3468 #3465 Kelvin-Waititu

Generated release line after this change:

- [#3463](…/pull/3463) [`0f9a64c`](…/commit/0f9a64c) Thanks [`harjothkhara`](…)! - fix the CLI printing replacement characters …

Merging this to main regenerates #3474 (Release browse) and #3438 (Release Stagehand packages) with the corrected credit.


Summary by cubic

Credits external contributors in pending changesets so release PRs thank the original author instead of @github-actions.

Adds the pr:, commit:, and author: override lines supported by @changesets/changelog-github 0.7.0, so each changeset links the contributor's original PR and the merged commit. Summary text is unchanged. Merging this regenerates the pending release PRs with the corrected attribution for the three changesets.

Written for commit 936d608. Summary will update on new commits.

View guided diff Turn on auto-fix

@changeset-bot

changeset-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 936d608

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 19 packages
Name Type
browse Patch
@browserbasehq/stagehand-extension Patch
@browserbasehq/stagehand Patch
@browserbasehq/stagehand-python Patch
@browserbasehq/stagehand-examples Patch
@browserbasehq/stagehand-integrations-claude-cua-sdk Patch
@browserbasehq/stagehand-integrations Patch
@browserbasehq/eve Patch
@browserbasehq/stagehand-integrations-gemini-cua-sdk Patch
@browserbasehq/stagehand-integrations-example-pi-facade Patch
@browserbasehq/stagehand-integrations-claude-code Patch
@browserbasehq/stagehand-integrations-codex Patch
@browserbasehq/stagehand-integrations-cursor Patch
@browserbasehq/stagehand-integrations-deepagents-sdk Patch
@browserbasehq/stagehand-integrations-fx Patch
@browserbasehq/stagehand-integrations-mastra Patch
@browserbasehq/stagehand-integrations-pi-sdk Patch
@browserbasehq/stagehand-integrations-example-vercel-ai-facade Patch
@browserbasehq/stagehand-integrations-eve-harness Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant Dev as External Contributor
    participant Fork as Fork Repo
    participant Bot as github-actions Bot
    participant Upstream as Upstream Repo
    participant Changesets as Changesets Config
    participant Changelog as changelog-github Lib
    participant ReleasePR as Release PR
    participant GitHub as GitHub Release Notes

    Note over Dev,Fork: Original contribution flow
    Dev->>Fork: Push changes
    Dev->>Upstream: Open original PR (#3463, #3422, #3465)
    Upstream->>Upstream: Check PR metadata (author, PR number, commit SHA)

    Note over Bot,Upstream: Mirror PR flow
    Bot->>Fork: Create mirror branch
    Bot->>Upstream: Open mirror PR (authored by bot)
    Upstream->>Bot: Merge mirror PR
    
    Note over Changesets,Changelog: Changeset processing
    Upstream->>Changesets: Read changeset files
    Changesets->>Changesets: Parse pr/commit/author override lines
    Changesets-->>Changelog: Pass override metadata

    alt Override lines present (NEW behavior)
        Changelog->>Changelog: Use pr/commit/author instead of mirror PR metadata
        Changelog-->>ReleasePR: Generate entry linking original PR + commit + author
    else No overrides (old behavior)
        Changelog->>Changelog: Fall back to mirror PR metadata (bot authoer)
        Changelog-->>ReleasePR: Entry credits github-actions
    end

    ReleasePR->>GitHub: Publish release notes
    GitHub-->>Dev: Correct attribution (Thanks @harjothkhara, etc.)

    Note over ReleasePR,GitHub: Regenerates #3474 and #3438 with corrected credits
Loading

View guided diff | Turn on auto-fix | Re-trigger cubic

This branch has not been deployed

No deployments
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