Skip to content

fix(next-reset): authenticate the tag-gate ls-remote so private repos reset - #195

Merged
Shinrai merged 1 commit into
nextfrom
fix/next-reset-private-ls-remote-auth
Aug 3, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/next-reset-private-ls-remote-auth

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(next-reset): authenticate the tag-gate ls-remote so private repos reset (90b125a)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

… reset

workflow-next-reset's "wait for the released major tag" gate ran an
unauthenticated `git ls-remote https://github.com/<repo>.git`, which exit-128s
on PRIVATE repos. Under the default `bash -eo pipefail` that non-zero status
(hidden by `2>/dev/null`) silently killed the gate job, so the downstream
sync-branches job was skipped and next/hotfixes were never recreated after a
release — stranding the staging flow (feature-pr then dies on "couldn't find
remote ref next"). Public repos read anonymously, so only private repos hit it.

Authenticate the lookup with the job's GITHUB_TOKEN (contents: write, already
present) via an x-access-token remote, drop the `2>/dev/null` so failures are
visible, and make the lookup non-fatal (a failure degrades to "proceed anyway"
— the gate is only a safety delay — instead of aborting the reset).

Fixes #194
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! fix → next v4 flow: fix contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant