You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## what
- When workflows use `pull_request_target` trigger (needed for accessing
secrets), the default checkout behavior checks out the base branch
(main) instead of the PR branch, causing tests to run against the wrong
code. Updated the checkout step to explicitly check out the PR code when
running in `pull_request_target context`, with proper fallbacks for
other trigger types.
## why
- Check out the branch we actually want to test.
## references
- N/A
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- Bug Fixes
- Corrected checkout behavior for pull_request_target to use the PR
head, improving accuracy for forked pull requests.
- Chores
- Streamlined the Trunk upgrade workflow into a single step.
- Switched to a secrets-based token for upgrades.
- Updated default reviewers to the open-source group.
- Removed the commit prefix configuration in the upgrade step.
- Renamed the upgrade step for clarity and removed obsolete steps.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments