Skip to content

Commit 0973192

Browse files
Merge pull request #4562 from OffchainLabs/fix/codecov-ci-dispatch-guard
Fix codecov comment step failing on workflow_dispatch
2 parents 319e72c + 4fdddf8 commit 0973192

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/_codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
path: downloaded-reports/
4040

4141
- name: Post test summary comment
42-
if: ${{ inputs.post_comment }}
42+
if: ${{ inputs.post_comment && github.event_name == 'pull_request' }}
4343
uses: codecov/basic-test-results@v1
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
### Ignored
2+
- Fix codecov test summary comment failing when CI is triggered via workflow_dispatch

0 commit comments

Comments
 (0)