codecov / feedback

A place to discuss feedback about the pull request and web product experience.
37 stars 7 forks source link

Tokenless uploads for test results not working #571

Open rohan-at-sentry opened 1 week ago

rohan-at-sentry commented 1 week ago

@leonardehrenfried - re

Is it possible to have test reports for PRs coming from forks like we do with coverage?

This should work. Let us know if it doesn't.

I get the following message:

error - 2024-11-07 14:43:29,150 -- Upload failed: {"message":"Token required because branch is protected"}

https://github.com/opentripplanner/OpenTripPlanner/actions/runs/11725185337/job/32660850694

I't true, the branch is protected and I'm not too familiar with the Github permissions model but I was under the impression that a PR doesn't try to write to the branch. This only happens after the merge.

Originally posted by @leonardehrenfried in #304

leonardehrenfried commented 1 week ago

Tokenless uploads work for the coverage report on the same action run, btw.