Skip to content

Add release.yml: automate docs release#78

Open
dwoz wants to merge 1 commit into
mainfrom
add-release-workflow
Open

Add release.yml: automate docs release#78
dwoz wants to merge 1 commit into
mainfrom
add-release-workflow

Conversation

@dwoz

@dwoz dwoz commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Adds a manually-triggered workflow that automates this repo's portion of the LTS release checklist.

Trigger: workflow_dispatch with input salt_version (e.g. 3008.1)

Steps:

  1. Finds the single open PR whose head branch starts with topic/release/ and merges it.
  2. Bumps the minor of the latest tag (e.g. v1.33v1.34.0).
  3. Pushes an annotated tag on main with message "v<salt_version> release". The existing build-sphinx-docs.yml picks up the tag and builds.

Errors loudly if there is not exactly one open topic/release/* PR.

Branch protection / token permissions on main will need to allow the workflow token to merge PRs and push tags — to be verified during a dry run.

Triggered manually with workflow_dispatch(salt_version). Finds the
open topic/release/* PR and runs the per-repo release steps.
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