From fdc87bd4b54461b3abd4c78a769997e6ebe27c40 Mon Sep 17 00:00:00 2001 From: Leo McArdle Date: Wed, 18 Sep 2024 10:46:21 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --- .github/workflows/pr-bundlesize-compare.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-bundlesize-compare.yml b/.github/workflows/pr-bundlesize-compare.yml index 622107090d0d..cd4b4fde2872 100644 --- a/.github/workflows/pr-bundlesize-compare.yml +++ b/.github/workflows/pr-bundlesize-compare.yml @@ -1,7 +1,6 @@ name: Compare bundle size on: - # this action will error unless run in a pr context pull_request: jobs: @@ -14,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{github.event.pull_request.head.ref}} + ref: ${{ github.event.pull_request.head.ref }} - name: Setup Node.js environment uses: actions/setup-node@v4 @@ -94,7 +93,7 @@ jobs: pull-requests: write steps: - uses: actions/download-artifact@v4 - - uses: github/webpack-bundlesize-compare-action@v1.8.2 + - uses: github/webpack-bundlesize-compare-action@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} current-stats-json-path: ./head-stats/stats.json