-
Notifications
You must be signed in to change notification settings - Fork 109
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
Tide blocks PRs which have checks with "skipped" status #130
Comments
+1. We also hit same in Metal3 today. Skipped optional action was blocking tide from merging. Worked around it by editing PR title which causes actions to run again, and then tide agreed to merge. |
+1. This affects a lot of Knative repos. For example: knative/serving#15147 |
Oddly the Check run API isn't returning skipped jobs ATM gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/knative/serving/commits/acdcf4fd9bad1fce9f17a29f3638ede1833cf8c9/check-runs | jq '.check_runs | .[] | .name' |
I think I'm hitting the wrong endpoint cause when I create new PRs the tide is still blocking it on skipped checks |
@sbueringer are you already working on a fix for this? |
@saschagrunert No, mostly because I'm not familiar with the code base and I don't know if it is more than just adjusting that one single if |
The GitHub API seems to have changed the conclusion to now return `skipped`. Tide should consider this status as success to be able to merge the PR. Fixes kubernetes-sigs#130 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Working towards a fix in #131 |
It works, PR's like kubernetes-sigs/security-profiles-operator#2225 merge again. :) |
Thank you very much! |
The GitHub API seems to have changed the conclusion to now return `skipped`. Tide should consider this status as success to be able to merge the PR. Fixes kubernetes-sigs#130 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
The GitHub API seems to have changed the conclusion to now return `skipped`. Tide should consider this status as success to be able to merge the PR. Fixes kubernetes-sigs#130 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Since a few days (I think since the weekend) tide is not merging PRs with skipped actions anymore.
It reports: Pending — Not mergeable. Job Approve ok-to-test has not succeeded.
For full context, see: https://kubernetes.slack.com/archives/C09QZ4DQB/p1713803378307299
It looks like GitHub changed the "check-runs" API to additionally return a "skipped" status which is not handled in
prow/pkg/tide/tide.go
Lines 2133 to 2139 in a25fe4d
Some referenced:
This will affect a few more repositories as just this action alone was copy&pasted across a few repos: ~ https://cs.k8s.io/?q=%27ok-to-test%27&i=nope&files=&excludeFiles=&repos=
The text was updated successfully, but these errors were encountered: