You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
When a merge conflict is detected an error is thrown by the report_error method. This method calls client.create_issue, referencing the client object created here which uses the originating token, but does not take in to account that it may be an Enterprise repository (which it is in this case).
I think a better approach would be to create two different clients: origin_client and destination_client, referencing them each at the proper place in the code. This will make explicit the intended destination of each API call and handle them appropriately.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See #33 for the full error stack
When a merge conflict is detected an error is thrown by the report_error method. This method calls
client.create_issue
, referencing the client object created here which uses the originating token, but does not take in to account that it may be an Enterprise repository (which it is in this case).I think a better approach would be to create two different clients:
origin_client
anddestination_client
, referencing them each at the proper place in the code. This will make explicit the intended destination of each API call and handle them appropriately.The text was updated successfully, but these errors were encountered: