Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request across forks shows 0 of 0 changed or added relevant lines in 0 files are covered #195

Open
thephantomthief opened this issue Jan 5, 2024 · 0 comments

Comments

@thephantomthief
Copy link

I am using the Coveralls Github Action in my repository https://github.com/thephantomthief/babelfish_extensions.

There is a PR across branches on my repo, and the coveralls comment on that PR shows the correct relevant lines added: thephantomthief/babelfish_extensions#18

However, if the PR is across forks, then the comment shows "0 of 0 changed or added relevant lines in 0 files are covered": thephantomthief/babelfish_extensions#19. When I follow the build link to the coveralls web UI, in the source changed, it correctly shows the number of lines added/removed in each source file but when I open the source file, there are no source code lines highlighted that have been added. Seems strange.

I have read through the https://docs.coveralls.io/ and have followed the recommend CI configuration mentioned here: https://docs.coveralls.io/build-types#recommended-ci-configurations where the push builds are happening on the default branch and the pull_request builds are happening on all PRs targeted towards the default branch.

Another difference I noticed is that in the PR raised from and to the same repo, the comment is made by "github-actions bot" but on the PR raised across forks, it is made by "Coveralls".

Any help on how to get the comment on PRs raised across forks, to mention the correct number of lines added/changed would be greatly appreciated!

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

No branches or pull requests

1 participant