-
Notifications
You must be signed in to change notification settings - Fork 18
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
ci: Don't comment from forks #134
Conversation
No difference in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems simple enough. However I wonder how other automations like stalebot do it then.
Wouldn't that mean that PRs from forks won't get CI checks any more? @lorenzleutgeb the documentation you linked in the other thread says one could instead trigger on |
That depends on what you mean by "CI checks". If you mean "getting checks" in the sense of " The change I am proposing here just disables posting the result of the step with id "flake-show-diff", if the PR comes from a fork. The reason is that this step will always fail for forks, because, for security reasons, PRs built in the context of forks have limited permissions and are not allowed to post comments to the PR. All other steps, like
Let's say GitHub calls eve/ngipkgs/attack the "head branch", and ngi-nix/ngipkgs/main the "base branch".
Assume that there is no merge conflict. Now, the The GitHub docs state:
|
Closing in favor of #176 |
See #133