Skip to content

Commit

Permalink
fix incorrect branch being checked out as base
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Jun 22, 2024
1 parent 92fa175 commit c7964af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/metrics-report/src/main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function run() {
const localBundleSizes = await getPackageSize()
logBundleSizes(localBundleSizes)

await checkoutBranch(pullRequest.head.ref)
await checkoutBranch(pullRequest.base.ref)

core.info('Getting PR base package sizes')
const baseBundleSizes = await getPackageSize({ shouldOmitFailures: true })
Expand Down

0 comments on commit c7964af

Please sign in to comment.