💚 Continue on error and update comment feature
This commit is contained in:
11
.github/workflows/nextjs_bundle_analysis.yml
vendored
11
.github/workflows/nextjs_bundle_analysis.yml
vendored
@@ -74,6 +74,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Download base branch bundle stats
|
- name: Download base branch bundle stats
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: dawidd6/action-download-artifact@v2
|
||||||
|
continue-on-error: true
|
||||||
if: success() && github.event.number
|
if: success() && github.event.number
|
||||||
with:
|
with:
|
||||||
workflow: nextjs_bundle_analysis.yml
|
workflow: nextjs_bundle_analysis.yml
|
||||||
@@ -106,8 +107,8 @@ jobs:
|
|||||||
echo "$(cat .next/analyze/__bundle_analysis_comment.txt)" >> $GITHUB_OUTPUT
|
echo "$(cat .next/analyze/__bundle_analysis_comment.txt)" >> $GITHUB_OUTPUT
|
||||||
echo EOF >> $GITHUB_OUTPUT
|
echo EOF >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Comment
|
- name: Comment
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
uses: marocchino/sticky-pull-request-comment@v2
|
||||||
with:
|
with:
|
||||||
header: next-touched-pages
|
header: next-touched-pages
|
||||||
message: ${{ steps.get-comment-body.outputs.body }}
|
message: ${{ steps.get-comment-body.outputs.body }}
|
||||||
Reference in New Issue
Block a user