Skip to content

fix(ci): don't fail build on coverage PR comment failure - #54

Merged
kudima03 merged 1 commit into
mainfrom
fix/coverage-comment-fork-pr
Sep 8, 2026
Merged

kudima03 merged 1 commit into
mainfrom
fix/coverage-comment-fork-pr

Conversation

@kudima03

@kudima03 kudima03 commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fork PRs get a read-only GITHUB_TOKEN, so the "Add Coverage PR Comment"
    step always fails with Resource not accessible by integration, taking
    down an otherwise-passing build.
  • Add continue-on-error: true to that step so a comment-posting failure no
    longer fails the job.
  • Drop the now-unneeded if guard: github.event_name == 'pull_request' was
    already guaranteed by the workflow trigger, and the dependabot exclusion is
    no longer needed now that failures are non-fatal.

Closes #53

🤖 Generated with Claude Code

Fork PRs get a read-only GITHUB_TOKEN, so posting the coverage
comment always fails with "Resource not accessible by integration"
and takes down an otherwise-passing build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
PureQL.CSharp.Model.OpenAPI.Schema 26% 19% 282
Summary 26% (137 / 519) 19% (51 / 266) 282

Minimum allowed line rate is 0%

@kudima03
kudima03 merged commit 28686da into main Sep 8, 2026
1 check passed
@kudima03
kudima03 deleted the fix/coverage-comment-fork-pr branch September 8, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: coverage PR comment step fails the build on fork PRs

1 participant