From: Evan You Date: Tue, 6 Aug 2024 12:47:46 +0000 (+0800) Subject: workflow: update size report to compare against pr target branch X-Git-Tag: v3.4.36~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e5cafe77bfdf2301cb565d10d0642e630ce052c;p=thirdparty%2Fvuejs%2Fcore.git workflow: update size report to compare against pr target branch --- diff --git a/.github/workflows/size-data.yml b/.github/workflows/size-data.yml index a702d0fef9..664f75aeec 100644 --- a/.github/workflows/size-data.yml +++ b/.github/workflows/size-data.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - minor pull_request: branches: - main diff --git a/.github/workflows/size-report.yml b/.github/workflows/size-report.yml index 5cec662874..25c93d8ed0 100644 --- a/.github/workflows/size-report.yml +++ b/.github/workflows/size-report.yml @@ -58,7 +58,7 @@ jobs: - name: Download Previous Size Data uses: dawidd6/action-download-artifact@v6 with: - branch: main + branch: ${{ github.base_ref }} workflow: size-data.yml event: push name: size-data