Skip to content

ci: split giteabot workflow#37770

Merged
lunny merged 5 commits into
go-gitea:mainfrom
lunny:lunny/split_giteabot_workflow
May 19, 2026
Merged

ci: split giteabot workflow#37770
lunny merged 5 commits into
go-gitea:mainfrom
lunny:lunny/split_giteabot_workflow

Conversation

@lunny
Copy link
Copy Markdown
Member

@lunny lunny commented May 18, 2026

What

This PR updates the giteabot workflows to use the newer action version that supports selecting individual checks, and splits the workflow into two separate jobs:

  • giteabot backport runs only the backport check on pushes to main
  • giteabot handles the remaining bot tasks on PR-related events, scheduled runs, and manual dispatch

Why

Previously, the single workflow handled both backporting and the other maintenance tasks together.

With the new giteabot action supporting configurable checks, splitting the workflow makes the triggers clearer and avoids running non-backport maintenance on every push to main.

Changes

  • upgrade go-gitea/giteabot to a revision that supports the checks input
  • move the main branch push trigger into a dedicated backport workflow
  • keep non-backport automation in the existing workflow
  • add a workflow_dispatch input so non-backport checks can be selected manually when needed

Helped by a coding agent with Codex 5.4

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 18, 2026
@lunny lunny changed the title split giteabot workflow fix(build): split giteabot workflow May 18, 2026
@bircni bircni changed the title fix(build): split giteabot workflow ci: split giteabot workflow May 18, 2026
Copy link
Copy Markdown
Member

@bircni bircni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow up for correct labels will be added by me later

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 18, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 18, 2026
@lunny lunny merged commit a1de9e5 into go-gitea:main May 19, 2026
22 checks passed
@GiteaBot GiteaBot added this to the 1.27.0 milestone May 19, 2026
@lunny lunny deleted the lunny/split_giteabot_workflow branch May 19, 2026 04:09
silverwind added a commit to silverwind/gitea that referenced this pull request May 19, 2026
* origin/main: (104 commits)
  fix(deps): update module github.com/go-git/go-git/v5 to v5.19.1 [security] (go-gitea#37786)
  fix(pull): handle empty pull request files view to allow reviews (go-gitea#37783)
  fix(markup): make RenderString never fail (go-gitea#37779)
  fix(markup): wrap indented code blocks for the code-copy button (go-gitea#37748)
  fix(permissions): Fix reading permission (go-gitea#37769)
  fix: add natural sort to sortTreeViewNodes (go-gitea#37772)
  fix: package creation unique conflict (go-gitea#37774)
  fix(deps): update npm dependencies (go-gitea#37768)
  fix(deps): update module gitlab.com/gitlab-org/api/client-go/v2 to v2.26.0 (go-gitea#37771)
  ci: split giteabot workflow (go-gitea#37770)
  [skip ci] Updated translations via Crowdin
  fix: Unify public-only token filtering in API queries and repo access checks (go-gitea#37118)
  fix(deps): update module google.golang.org/grpc to v1.81.1 (go-gitea#37762)
  chore: make DefaultTitleSource default to auto to match GitHub (go-gitea#37767)
  ci: fix cache-related issues (go-gitea#37761)
  chore: fix tests (go-gitea#37760)
  refactor(waitgroup): replace Add/Done goroutines with WaitGroup.Go (go-gitea#37764)
  fix(deps): update go dependencies (go-gitea#37752)
  chore(deps): update action dependencies (go-gitea#37751)
  fix(deps): update module github.com/google/go-github/v85 to v86 (go-gitea#37754)
  ...

# Conflicts:
#	.github/workflows/pull-db-tests.yml
#	modules/storage/s3_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants