Skip to content

Commit cf442d1

Browse files
committed
test: add condition
1 parent a207ef7 commit cf442d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/analyze_comment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: >
1313
${{ github.event.workflow_run.event == 'pull_request' &&
14-
github.event.workflow_run.conclusion == 'success' }}
14+
github.event.workflow_run.conclusion == 'success' &&
15+
github.event.workflow_run.head_branch != 'main' }}
1516
steps:
1617
- name: Download base branch bundle stats
1718
uses: dawidd6/action-download-artifact@v2

0 commit comments

Comments
 (0)