Skip to content

ci: run workflows on renovate/** branches - #3422

Closed
setchy wants to merge 2 commits into
mainfrom
chore/ci-run-on-renovate-branches
Closed

setchy wants to merge 2 commits into
mainfrom
chore/ci-run-on-renovate-branches

Conversation

@setchy

@setchy setchy commented Oct 14, 2026

Copy link
Copy Markdown
Member

What

Add the renovate/** branch pattern to the push triggers so CI runs on Renovate's update branches before they are pushed/merged.

Files: .github/workflows/ci.yml, .github/workflows/zizmor.yml

Why

Renovate is switching gitify-app/renovate-config workflow digest updates to branch automerge (automergeType: "branch", see gitify-app/renovate-config#9). That mode creates a branch and, once it's up to date and green, pushes the commit straight to the base branch — no PR.

Renovate waits for the branch's status checks. Our workflows currently trigger only on push: main + pull_request, so a renovate/** branch runs no checks and Renovate would eventually fall back to opening a PR (~25h). Renovate's docs explicitly require adding renovate/** to the testing workflow triggers for branch automerge.

Impact

  • CI now also runs on renovate/** branches (every Renovate update branch in this repo, not just the digest bump).
  • No change to main or PR behavior.

Follow-ups (outside this repo)

  • Renovate must be a bypass actor with mode "Always allow" on the default-branch ruleset so it can push directly to the protected main; otherwise the push is rejected and it falls back to a PR.

@setchy
setchy requested a review from afonsojramos as a code owner October 14, 2026 16:11
@github-actions github-actions Bot added the build Build, action or package manager changes label Oct 14, 2026
@setchy

setchy commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

Closing — no longer needed. We're keeping PR-based automerge for the gitify-app/renovate-config digest updates, so CI continues to run via the existing pull_request trigger. The renovate/** push trigger is only required for branch automerge, which we're not adopting.

@setchy setchy closed this Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build, action or package manager changes

Development

Successfully merging this pull request may close these issues.

1 participant