Open scottbot95 opened 5 hours ago
When submitting a pull request from a fork the various ghcr_build workflows will fail with 403 errors (presumably because the workflow is trying to push to the main repository from the PR fork)
ghcr_build
(example)
We either just build, but don't publish the various images, or we push images to the fork the PR originates from.
N/A
No response
Manual
According to this post it sounds like we could probably use github.event.pull_request.head.repo.full_name instead of github.repository
github.event.pull_request.head.repo.full_name
github.repository
Is there an existing issue for this?
What happened?
When submitting a pull request from a fork the various
ghcr_build
workflows will fail with 403 errors (presumably because the workflow is trying to push to the main repository from the PR fork)(example)
Expected Behavior
We either just build, but don't publish the various images, or we push images to the fork the PR originates from.
Steps To Reproduce
Relevant log output
Screenshots
No response
Additional data
No response
Type of installation
Manual
Version
N/A