Skip to content

Commit 4e5cafe

Browse files
committed
workflow: update size report to compare against pr target branch
1 parent a586901 commit 4e5cafe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/size-data.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- minor
78
pull_request:
89
branches:
910
- main

.github/workflows/size-report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Download Previous Size Data
5959
uses: dawidd6/action-download-artifact@v6
6060
with:
61-
branch: main
61+
branch: ${{ github.base_ref }}
6262
workflow: size-data.yml
6363
event: push
6464
name: size-data

0 commit comments

Comments
 (0)