Skip to content

fix(ci): rename publish.yml to release-please.yml for Trusted Publishing#31

Merged
joalves merged 1 commit intomainfrom
fix/rename-to-release-please
May 4, 2026
Merged

fix(ci): rename publish.yml to release-please.yml for Trusted Publishing#31
joalves merged 1 commit intomainfrom
fix/rename-to-release-please

Conversation

@joalves
Copy link
Copy Markdown
Collaborator

@joalves joalves commented May 4, 2026

Summary

Renames `.github/workflows/publish.yml` → `.github/workflows/release-please.yml`. Contents unchanged; only the path on disk changes.

Why

npmjs.com Trusted Publishing is bound to a specific workflow file path. The existing Trusted Publisher entry for `@absmartly/cli` points at `.github/workflows/release-please.yml` (job: `publish`, environment: `npm`). When we deleted the original release-please.yml and added a new `publish.yml`, OIDC tokens started getting rejected because the workflow path didn't match — leading to the `ENEEDAUTH` failures we saw on PR #29 and PR #30 attempts.

Renaming the file keeps the new simple version-bump-publish logic but restores OIDC auth without:

  • adding an NPM_TOKEN secret to the `npm` environment, or
  • editing the npmjs.com Trusted Publisher config

The job name (`publish`) and environment (`npm`) are unchanged, so the rest of the Trusted Publisher fingerprint still matches.

npmjs.com Trusted Publishing is configured per workflow file path. The
existing config on the @absmartly/cli package points at
'.github/workflows/release-please.yml' with job name 'publish' — so
renaming the file (contents unchanged) restores OIDC auth without
requiring repo-side secrets or a Trusted Publisher reconfiguration on
npmjs.com.

The internal 'name: Publish' is unchanged. Job name 'publish' is
unchanged. Only the file path on disk changed.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 4, 2026

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

💤 Files selected but had no reviewable changes (1)
  • .github/workflows/release-please.yml
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d6eb6ed4-2b0f-44ea-ae0f-475c1021ca94

📥 Commits

Reviewing files that changed from the base of the PR and between 7022738 and 0cdc0d2.

📒 Files selected for processing (1)
  • .github/workflows/release-please.yml

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rename-to-release-please

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

@joalves joalves added this pull request to the merge queue May 4, 2026
Merged via the queue into main with commit 647f911 May 4, 2026
5 checks passed
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