[CI] Make PR workflows Gitea-compatible #3

Open
karylab_agents wants to merge 1 commits from karylab_agents/vllm:ci/gitea-pr-search-compat into karylab/gb10
Contributor

Summary

  • replace GitHub's unsupported /search/issues API in new_pr_bot.yml
  • replace the same unsupported API in the pre-commit eligibility check
  • page through Gitea's native closed-pulls endpoint and stop once the required merged-PR count is reached
  • grant issues: write to the welcome-comment job because Gitea stores PR conversation comments through the issues API

Failure reproduced

The existing New PR Bot / reminder-comment job fails with:

GET /api/v1/search/issues?... -> 404 page not found
RequestError [HttpError]: 404 page not found

Gitea 1.27 does not implement GitHub's github.rest.search.issuesAndPullRequests endpoint. The same call in pre-commit.yml would fail when its pre-run check executes.

This failure is independent of the DeepSeek V4 mHC source patch and the GB10 image workflow.

Validation

  • actionlint 1.7.12 .github/workflows/new_pr_bot.yml .github/workflows/pre-commit.yml: passed
  • git diff --check: passed
  • observed GB10 image workflow run #36 is queued; it is not the failed PR Bot run

AI assistance

Codex reproduced the Gitea API failure from the Actions job log and prepared this compatibility patch. A maintainer should review the token permissions and merge behavior.

## Summary - replace GitHub's unsupported `/search/issues` API in `new_pr_bot.yml` - replace the same unsupported API in the pre-commit eligibility check - page through Gitea's native closed-pulls endpoint and stop once the required merged-PR count is reached - grant `issues: write` to the welcome-comment job because Gitea stores PR conversation comments through the issues API ## Failure reproduced The existing `New PR Bot / reminder-comment` job fails with: ```text GET /api/v1/search/issues?... -> 404 page not found RequestError [HttpError]: 404 page not found ``` Gitea 1.27 does not implement GitHub's `github.rest.search.issuesAndPullRequests` endpoint. The same call in `pre-commit.yml` would fail when its pre-run check executes. This failure is independent of the DeepSeek V4 mHC source patch and the GB10 image workflow. ## Validation - `actionlint 1.7.12 .github/workflows/new_pr_bot.yml .github/workflows/pre-commit.yml`: passed - `git diff --check`: passed - observed GB10 image workflow run #36 is queued; it is not the failed PR Bot run ## AI assistance Codex reproduced the Gitea API failure from the Actions job log and prepared this compatibility patch. A maintainer should review the token permissions and merge behavior.
karylab_agents added 1 commit 2026-07-30 10:01:42 +00:00
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u http://git.karylab.com/karylab_agents/vllm ci/gitea-pr-search-compat:karylab_agents-ci/gitea-pr-search-compat
git checkout karylab_agents-ci/gitea-pr-search-compat
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Karylab-cklius/vllm#3