fix(release): auto-bump via protected-branch-safe bump PR (API merge) #186

Merged
conductor merged 2 commits from fix/auto-version-protected-push into master 2026-09-06 13:32:25 +01:00
Owner

Second layer of the release fix (follows the revived #171 fix in the previous commit; PR #185 was superseded by this branch).

Problem

With HEAD:master + token auth, the auto-bump push now reaches Gitea but is rejected: "Not allowed to push to protected branch master" (run 792). Branch protection forbids direct pushes to master by design (enable_push=false, block_admin_merge_override=true) — the auto-bump must not bypass the same gate every feature PR passes through.

Fix

The auto-bump step now performs the governed flow itself, via API:

  1. create chore/auto-bump-X.Y.Z+1 branch from master;
  2. commit the five version-surface edits via the contents API (graceful skip of absent surfaces);
  3. open the bump PR;
  4. wait for the same protected check (CI Pipeline / required-checks (pull_request)) to go green (15-min ceiling);
  5. merge via the pulls API (branch protection respected);
  6. export the bumped version for the release step.

Release creation step is unchanged. No branch-protection semantics weakened; the bump now travels the identical gate as feature work.

Second layer of the release fix (follows the revived #171 fix in the previous commit; PR #185 was superseded by this branch). ## Problem With HEAD:master + token auth, the auto-bump push now reaches Gitea but is rejected: "Not allowed to push to protected branch master" (run 792). Branch protection forbids direct pushes to master by design (enable_push=false, block_admin_merge_override=true) — the auto-bump must not bypass the same gate every feature PR passes through. ## Fix The auto-bump step now performs the governed flow itself, via API: 1. create `chore/auto-bump-X.Y.Z+1` branch from master; 2. commit the five version-surface edits via the contents API (graceful skip of absent surfaces); 3. open the bump PR; 4. wait for the same protected check (`CI Pipeline / required-checks (pull_request)`) to go green (15-min ceiling); 5. merge via the pulls API (branch protection respected); 6. export the bumped version for the release step. Release creation step is unchanged. No branch-protection semantics weakened; the bump now travels the identical gate as feature work.
conductor added 1 commit 2026-09-06 13:21:48 +01:00
fix(release): auto-bump via protected-branch-safe bump PR (API merge)
Auto-label / priority-gate (pull_request) Skipped
CI Pipeline / lint (push) Successful in 22s
Auto-label / auto-label (pull_request) Successful in 1s
CI Pipeline / unit-tests (push) Successful in 28s
CI Pipeline / canary (push) Failing after 24s
CI Pipeline / best-practices (push) Successful in 2s
CI Pipeline / documentation (push) Successful in 2s
CI Pipeline / type-check (push) Successful in 20s
CI Pipeline / gitea-offline (push) Successful in 12s
CI Pipeline / required-checks (push) Skipped
CI Pipeline / lint (pull_request) Successful in 22s
CI Pipeline / unit-tests (pull_request) Successful in 29s
CI Pipeline / canary (pull_request) Failing after 25s
CI Pipeline / best-practices (pull_request) Successful in 2s
CI Pipeline / documentation (pull_request) Successful in 2s
CI Pipeline / type-check (pull_request) Successful in 20s
CI Pipeline / gitea-offline (pull_request) Successful in 13s
CI Pipeline / required-checks (pull_request) Skipped
b430f77837
gitea-actions Bot added the bugcustodian labels 2026-09-06 13:21:55 +01:00
conductor added 1 commit 2026-09-06 13:27:18 +01:00
fix(release): rename bump-PR env vars — keep gitea.server_url as the sole URL source (canary contract)
CI Pipeline / lint (push) Successful in 21s
CI Pipeline / unit-tests (push) Successful in 28s
CI Pipeline / canary (push) Successful in 24s
CI Pipeline / best-practices (push) Successful in 2s
CI Pipeline / documentation (push) Successful in 2s
CI Pipeline / type-check (push) Successful in 20s
CI Pipeline / gitea-offline (push) Successful in 13s
CI Pipeline / required-checks (push) Skipped
CI Pipeline / lint (pull_request) Successful in 23s
CI Pipeline / unit-tests (pull_request) Successful in 29s
CI Pipeline / canary (pull_request) Successful in 24s
CI Pipeline / best-practices (pull_request) Successful in 2s
CI Pipeline / documentation (pull_request) Successful in 2s
CI Pipeline / type-check (pull_request) Successful in 20s
CI Pipeline / gitea-offline (pull_request) Successful in 13s
CI Pipeline / required-checks (pull_request) Successful in 0s
Auto-version and Release / release (pull_request) Failing after 15m21s
f6bc8e1655
conductor merged commit ffd86294db into master 2026-09-06 13:32:25 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: conductor/rune#186