workflow: update size report to compare against pr target branch

This commit is contained in:
Evan You 2024-08-06 20:47:46 +08:00
parent a586901a76
commit 4e5cafe77b
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- main - main
- minor
pull_request: pull_request:
branches: branches:
- main - main

View File

@ -58,7 +58,7 @@ jobs:
- name: Download Previous Size Data - name: Download Previous Size Data
uses: dawidd6/action-download-artifact@v6 uses: dawidd6/action-download-artifact@v6
with: with:
branch: main branch: ${{ github.base_ref }}
workflow: size-data.yml workflow: size-data.yml
event: push event: push
name: size-data name: size-data