Skip to content

fix: run release-please on this repo - #5

Merged
gberenice merged 1 commit into
mainfrom
fix/self-release-please
Sep 21, 2026
Merged

gberenice merged 1 commit into
mainfrom
fix/self-release-please

Conversation

@gberenice

Copy link
Copy Markdown
Member

Problem

release-please.yaml here is workflow_call-only — it exists for other repos to consume. Nothing in this repo ever called it, so release-please has never run and no release was cut when #4 merged.

Consumers like github-action-tf-test have the caller half; this repo only had the callee half.

Two consequences, both fixed:

  1. No caller. Added self-release-please.yaml, triggering on push to main.
  2. No GitHub Releases. v0.1.0–v0.3.0 existed only as lightweight git tags created by hand. Release-please reads the Releases API to find the last version, so it would have ignored those tags and restarted versioning at 1.0.0. I backfilled releases for all three tags, with v0.3.0 marked latest, so the next run proposes v0.4.0.

Self-repository syntax

The call uses $/ rather than ./:

uses: $/.github/workflows/release-please.yaml

GitHub shipped this in July 2026. It resolves to the exact running commit with no checkout, and unlike ./ it counts as pinning for policy enforcement — which matters for a repo whose whole purpose is publishing pinned workflows. zizmor's self-repository audit recommends it. The alternative, pinning to masterpointio/actions@<sha>, would need a bump on every single release.

Tradeoff worth flagging: actionlint 1.7.12 predates the syntax and rejects it, hence the scoped trunk-ignore. Requires runner 2.336.0+, which GitHub-hosted runners satisfy. If the first run fails, swapping $/ for ./ is a one-line fallback.

Follow-up

This repo also runs no CI on its own PRs — lint.yaml is likewise workflow_call-only and there's no .trunk config. Separate PR, so a first-time trunk run surfacing pre-existing findings doesn't block this release fix.

Testing

actionlint, zizmor --persona=pedantic, yamllint, and prettier pass locally (borrowing a trunk config, since this repo has none).

Made with Cursor

This repo publishes release-please.yaml for other repos to call, but nothing
called it here, so its own releases were never cut and v0.4.0 never appeared
after #4 merged. Add a caller that triggers on push to main.

Use the self-repository form so the call resolves to the running commit rather
than a pinned masterpointio/actions ref that would need bumping every release.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: d4890251-062b-4f99-be61-07883b5ea202


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gberenice
gberenice merged commit fc531db into main Sep 21, 2026
1 check passed
@gberenice
gberenice deleted the fix/self-release-please branch September 21, 2026 16:45
gberenice pushed a commit that referenced this pull request Sep 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.4.0](v0.3.0...v0.4.0)
(2026-09-21)


### Features

* discover and test every module in tf-test workflow
([#4](#4))
([5ca743a](5ca743a))


### Bug Fixes

* run release-please on this repo
([#5](#5))
([fc531db](fc531db))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: masterpointbot[bot] <177651640+masterpointbot[bot]@users.noreply.github.com>
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