Skip to content

Add release.yml: automate docs release#78

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

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.
@dwoz

dwoz commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Replacing with a full end-to-end automation PR — see follow-up.

@dwoz dwoz closed this Jun 15, 2026
@dwoz dwoz deleted the add-release-workflow branch June 15, 2026 20:39
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