Open jdrueckert opened 1 year ago
I created an issue on the check-run-reporter
action repo and hope that the maintainer(s) will respond and help. Otherwise, I'll try to investigate in a time-boxed manner myself as soon as I find some time. If it takes too much effort / time, I'd try to divert to another action instead.
Anybody who is willing to help, please go ahead and comment on any insights you gain or open a PR with changes to our current workflow or the check-run-reporter
action.
Seems it might not so much be an issue with the action but rather with secrets not being passed to workflows triggered on PRs from forks... see "Actions secrets and variables" page notes:
Note especially: Anyone with collaborator access to this repository can use these secrets and variables for actions. They are not passed to workflows that are triggered by a pull request from a fork.
What's the Problem?
On https://github.com/MovingBlocks/TerasologyLauncher/pull/691, it became apparent, that our push validation GitHub workflow seemingly doesn't work on PRs from forks. In particular, the check-run-reporter stage fails with the following error:
On creating a pull request with the same changes directly on the original repo (as opposed to from a fork), the stage completes successfully. For example, see PRs #692 (from fork) and #693 (from orig repo).
The
check-run-reporter
action seems to be unable to properly set the authorization header required for uploading the report.How can we solve it?
From my point of view, we have three options to solve this:
check-run-reporter
action repo and wait for it to be fixed. Then update to the new version including the fix.check-run-reporter
action repo ourselves and provide a fix. Wait for it to be merged and update to the new version including the fix.