Skip to content

chore: add release-please automation - #6

Merged
kyleswiger merged 1 commit into
mainfrom
chore/release-please
Aug 13, 2026
Merged

kyleswiger merged 1 commit into
mainfrom
chore/release-please

Conversation

@kyleswiger

Copy link
Copy Markdown
Owner

Adds release-please on pushes to main: conventional commits drive a rolling release PR; merging it cuts a semver tag + GitHub Release + CHANGELOG. Consumers pin Terraform module sources with ?ref=vX.Y.Z.

🤖 Generated with Claude Code

Conventional commits on main now drive semver tags, GitHub Releases,
and a maintained CHANGELOG via a rolling release PR.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@kyleswiger kyleswiger left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Gemini Automated Code Review

Reviewed automatically by Gemini PR Reviewer

📌 Executive Summary

This PR introduces automated release management via Google's release-please-action@v4 workflow triggered on pushes to the main branch. Overall risk is Low, as the workflow follows modern GitHub Actions practices with explicit least-privilege permissions. Minor optimizations can be made to better align with Terraform module releases and GitHub Actions CI triggering behaviors.


🔍 Key Findings & Assessment

  • 🔴 Critical / Blockers: None identified.
  • 🟡 Improvements & Suggestions:
    • Strategy Type: The PR description indicates this is a Terraform module. Using release-type: terraform-module instead of simple enables release-please to automatically update version strings in README.md code snippets and version files upon release.
    • CI Workflow Triggering Caveat: PRs created using the default secrets.GITHUB_TOKEN will not trigger other on: pull_request GitHub Actions (such as linting or formatting checks). If status checks are required to merge the release PR, consider documenting or switching to a custom PAT or GitHub App token (token: ${{ secrets.MY_RELEASE_TOKEN }}).
  • 🟢 Positives:
    • Explicit permissions scope (contents: write, pull-requests: write) adhering to the principle of least privilege.
    • Uses the latest major version (v4) of googleapis/release-please-action.

📝 Detailed File-by-File Review

.github/workflows/release.yml

Setting release-type: terraform-module enables Terraform-specific release handling (updating version references in Terraform documentation/files alongside the CHANGELOG and git tag).

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0beb19c..a81f3bc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,4 +14,4 @@ jobs:
     steps:
       - uses: googleapis/release-please-action@v4
         with:
-          release-type: simple
+          release-type: terraform-module

🤖 AI Assistant Copy-Paste Directive

<PR_REVIEW_ACTIONS>
- [ ] Task 1: Update `.github/workflows/release.yml` line 17 to use `release-type: terraform-module` instead of `simple`.
</PR_REVIEW_ACTIONS>

@kyleswiger
kyleswiger merged commit 335d9fb into main Aug 13, 2026
3 checks passed
@kyleswiger
kyleswiger deleted the chore/release-please branch August 13, 2026 13:56
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