Skip to content

Commit 3943fbc

Browse files
committed
Fix CI: allow coverage comment to fail for Dependabot PRs
Dependabot PRs don't have permission to post PR comments, which was causing the build-and-test job to fail even though all tests passed. Adding continue-on-error to make this step non-blocking.
1 parent 4917049 commit 3943fbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
- name: Add coverage PR comment
6262
uses: marocchino/sticky-pull-request-comment@v2
6363
if: github.event_name == 'pull_request'
64+
continue-on-error: true # Dependabot PRs don't have permission to post comments
6465
with:
6566
recreate: true
6667
path: coverage/report/SummaryGithub.md

0 commit comments

Comments
 (0)