Commit 130bfea
committed
fix: use github.head_ref for CI_BRANCH in Coveralls integration
For GitHub Actions pull requests, github.ref_name returns the PR reference
(e.g., "293/merge") instead of the actual branch name. The coveralls-jacoco
plugin uses CI_BRANCH to identify the branch in coverage reports. By using
github.head_ref (which provides the branch name for PRs) with github.ref_name
as a fallback (for push events), we ensure the correct branch is reported.
Assisted-By: Claude Code1 parent d59a2d2 commit 130bfea
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
0 commit comments