Skip to content

ci(release): make main sync best-effort so tags publish unblocked - #323

Merged
ajianaz merged 1 commit into
developfrom
ci/release-sync-main-best-effort
Sep 3, 2026
Merged

ci(release): make main sync best-effort so tags publish unblocked#323
ajianaz merged 1 commit into
developfrom
ci/release-sync-main-best-effort

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What

Adds continue-on-error: true to the sync-main job in release.yml with a comment documenting why.

Why

The main-protected ruleset added in #313 (requires PRs + 10 status checks, no bypass actors) rejects the job's direct git push HEAD:main --force. Because build-release, the Docker jobs, and the GitHub Release job all had needs: sync-main, one rejected push silently blocked the entire release: the v0.3.0 tag run (#33734057649) failed at sync-main and skipped every build. With the job marked best-effort, tag pushes always produce binaries, the ghcr.io/codecoradev/trapfall image, and the release; the main sync failure stays visible as an expected failure until an admin allows the automation under Settings → Rules → Rulesets.

Testing

  • Workflow YAML change only; actionlint-style structure unchanged (job-level flag, no step edits)
  • Next tag run will exercise it end-to-end

The main-protected ruleset added in #313 (pull_request +
required_status_checks, no bypass actors) rejects the sync job's
direct force-push to main, which gated every downstream job — no
binaries, no ghcr image, no GitHub release. Mark the job
continue-on-error so releases ship; main sync stays documented as an
admin follow-up.
@ajianaz
ajianaz merged commit 15e4c42 into develop Sep 3, 2026
17 checks passed
@ajianaz
ajianaz deleted the ci/release-sync-main-best-effort branch September 3, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant