Skip to content

Commit 876cecb

Browse files
committed
Fix warning of missing analysis comment artifact
1 parent f9682fe commit 876cecb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/analyze.yml

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474

7575
- name: Upload analysis comment
7676
uses: actions/upload-artifact@v3
77+
if: success() && github.event.number
7778
with:
7879
name: analysis_comment.txt
7980
path: .next/analyze/__bundle_analysis_comment.txt

0 commit comments

Comments
 (0)