Skip to content

Commit 62a1163

Browse files
authored
Merge pull request #2 from A7med3bdulBaset/fix-workflow/analyze-bundle
Fix `Analyze Bundle (Comment)` workflow
2 parents da853c4 + b2b3de4 commit 62a1163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/analyze_comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
comment:
1111
runs-on: ubuntu-latest
1212
if: >
13+
${{ github.event.workflow_run.event == 'pull_request' &&
1314
github.event.workflow_run.conclusion == 'success' &&
14-
github.event.workflow_run.name == 'Analyze Bundle' &&
15-
github.event.workflow_run.head_branch != 'main'
15+
github.event.workflow_run.head_branch != 'main' }}
1616
steps:
1717
- name: Download base branch bundle stats
1818
uses: dawidd6/action-download-artifact@v2

0 commit comments

Comments
 (0)