Open HemangLavana opened 4 years ago
On further investigation, I found out that: (a) our GHE was not upgraded recently but few months back, (b) our pull requests were working until Oct 20th, and (c) there was a new release of this project (v0.22.0) on Oct 21st.
So I modified my pipeline to explicitly use v0.21.0 and my pipelines have started working again. This looks like a regression bug to me. Let me know if you need any additional details to help resolve this issue.
It looks like to get this working in GHE, we'd need to implement something to re-write the requests to enable this preview functionality?
yes, I guess you need to use http.RoundTripper (ex: https://lanre.wtf/blog/2017/07/24/roundtripper-go/). If you need any help in validating the fix, let me know.
I'd bet upgrading GHE solved the problem. Can we close this issue?
If anything similar appears, it will be sweet to provide feedback to the new maintained repo, thanks!
@schmurfy maybe?
I am getting the following error message:
run check step: run check step: check: resource script '/opt/resource/check []' failed: exit status 1
stderr: 2020/10/22 14:07:27 check failed: failed to get last commits: Field 'isDraft' doesn't exist on type 'PullRequest'
Our GHE version is: GitHub Enterprise Server 2.20.16. These checks used to work perfectly well, so I believe this failure is due to GHE upgrade. The GHE server is maintained by our IT team so we don't have an option to rollback our GHE.
I suspect this issue is related to:
https://github.com/shurcooL/githubv4/issues/66
Is anyone else seeing this issue and any tips how to workaround this. Our pull-request pipelines are completely broken due to this.