-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doesn't work on pr from forks #4
Comments
Is this accurate? Doesn't this require a secret token to be created on the main repo? See also "About the GITHUB_TOKEN secret" in https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token |
When a fork opens a pull request on the upstream repo, the action fired runs on the forked repo, not the upstream. The forked repo doesn't have access to the access tokens created on the upstream repo. As the owner of the forked repo can't merge the PR on the upstream, as their actions can't. |
This reverts commit b7f38ef. This GitHub action does not seem to work, perhaps because no authentication token was installed in the Wireshark project on GH? See also superbrothers/close-pull-request#4 Change-Id: I084547028dd1de7852aaa5f9e923efa8a69d4244 Reviewed-on: https://code.wireshark.org/review/36718 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Thanks for reporting. I'll check it out. |
This is mostly correct. It turns out that This is the same restriction in actions/labeler.
Unfortunately, there seems to be no way around this restriction at the moment. |
Hi
I've investigated a bit and it looks like your action doesn't work with forks since the fork user cannot access the github token. Can you confirm this? Is there a way to circumvent this issue?
The text was updated successfully, but these errors were encountered: