Skip to content

fix: use main branch for changesets/bot action#363

Open
guesung wants to merge 1 commit intotoss:mainfrom
guesung:fix/changeset-bot-action-tag
Open

fix: use main branch for changesets/bot action#363
guesung wants to merge 1 commit intotoss:mainfrom
guesung:fix/changeset-bot-action-tag

Conversation

@guesung
Copy link
Copy Markdown
Contributor

@guesung guesung commented Apr 2, 2026

Summary

  • Fix changesets/bot@v1 action resolution failure — the changesets/bot repo has no v1 tag/release
  • Change to changesets/bot@main so the workflow can resolve the action

Test plan

  • Verify the Changeset Bot workflow passes on new PRs

Copilot AI review requested due to automatic review settings April 2, 2026 05:26
Copy link
Copy Markdown

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 the Changeset Bot GitHub Actions workflow to resolve an action reference that cannot be fetched as changesets/bot@v1 by switching to the repository’s default branch.

Changes:

  • Update workflow action reference from changesets/bot@v1 to changesets/bot@main.

runs-on: ubuntu-latest
steps:
- uses: changesets/bot@v1
- uses: changesets/bot@main
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

Using a floating ref (changesets/bot@main) makes this workflow non-deterministic and increases supply-chain risk, especially with pull_request_target and pull-requests: write permissions (the action code can change without review). Prefer pinning the action to an immutable commit SHA (or a trusted, signed tag/release if one becomes available) and update it intentionally when needed.

Suggested change
- uses: changesets/bot@main
- uses: changesets/bot@3b4cf1f2c9a6c1891d3dbed1d5d295df1b548d64 # pinned from @main

Copilot uses AI. Check for mistakes.
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.

2 participants