Scheduling infrastructure for absolutely everyone.
fix: Bundle analysis commenting (#13116)
Keith Williamsb69d885ee62d
diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.ymlindex 4c8da862173..c92e6b2045d 100644--- a/.github/workflows/nextjs-bundle-analysis.yml+++ b/.github/workflows/nextjs-bundle-analysis.yml@@ -62,18 +62,18 @@ jobs:- name: Get comment bodyid: get-comment-body- if: success()+ if: success() && github.event.numberrun: |cd apps/webbody=$(cat .next/analyze/__bundle_analysis_comment.txt)body="${body//'%'/'%25'}"body="${body//$'\n'/'%0A'}"body="${body//$'\r'/'%0D'}"- echo "{name}={$body}" >> $GITHUB_OUTPUT+ echo "{body}={$body}" >> $GITHUB_OUTPUT- name: Find Commentuses: peter-evans/find-comment@v2- if: success()+ if: success() && github.event.numberid: fcwith:issue-number: ${{ github.event.number }}