Skip to content

Add automated version bump, GitHub Pages redeploy, and docs badge sync on push to main#43

Merged
chefgs merged 2 commits intomainfrom
copilot/add-ghactions-for-version-bump
Mar 17, 2026
Merged

Add automated version bump, GitHub Pages redeploy, and docs badge sync on push to main#43
chefgs merged 2 commits intomainfrom
copilot/add-ghactions-for-version-bump

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 17, 2026

Every push to main should automatically bump the patch version, keep the live docs site current, and sync the version badge — none of which were wired up.

Changes

.github/workflows/release.yml (new)

Triggers on every push to main; skips bot commits and [skip ci] messages to prevent infinite loops.

  • Version bump — increments patch in cli/__version__.py (0.4.00.4.1), writes output via GITHUB_OUTPUT
  • CHANGELOG — prepends a dated release entry; gracefully handles a missing ## [ marker
  • Docs badge — updates the shields.io version badge in hugo-docs/content/_index.md via generic regex (version-[0-9]+\.[0-9]+\.[0-9]+-blue) so it works regardless of badge/code version drift
  • Commit + tag — commits all three files as github-actions[bot] with [skip ci], creates a vX.Y.Z tag, and pushes both

.github/workflows/pages.yml (modified)

Removed the paths filter (hugo-docs/**) so the Hugo site redeploys on every push to main, not just when Hugo sources change — ensuring the live site reflects version bumps and any other repo changes immediately.


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

…h to main

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions for version bump and documentation updates Add automated version bump, GitHub Pages redeploy, and docs badge sync on push to main Mar 17, 2026
Copilot AI requested a review from chefgs March 17, 2026 19:47
@chefgs chefgs marked this pull request as ready for review March 17, 2026 19:49
@chefgs chefgs merged commit aa474e4 into main Mar 17, 2026
8 checks passed
@chefgs chefgs deleted the copilot/add-ghactions-for-version-bump branch March 17, 2026 19:53
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.

2 participants