Skip to content

feat: add tested latest stable branch selector - #123

Merged
vitormattos merged 3 commits into
mainfrom
feat/nightly-stable-selection
Sep 21, 2026
Merged

vitormattos merged 3 commits into
mainfrom
feat/nightly-stable-selection

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Extracts nightly stable-branch selection into a small, deterministic Action.

The Action:

  • accepts only exact stable<N> refs when discovering release lines;
  • compares numerically, so stable100 sorts after stable35;
  • ignores suffix branches such as stable36-test;
  • exposes current/latest branch and release-line outputs plus is-latest;
  • prints the resolved values in logs and the job summary;
  • fails closed when no valid stable branch exists.

Unit coverage exercises numeric ordering, exact-name filtering, non-stable refs and empty repositories. VERSION moves to 0.6.0 because this adds a public Action.

Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
Signed-off-by: Vitor Mattos <vitor@php.rio>
@vitormattos
vitormattos merged commit 0bac497 into main Sep 21, 2026
5 checks passed
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