Skip to content

fix: preserve GitHub Actions env for prerelease provenance - #543

Merged
patrickkabwe merged 1 commit into
mainfrom
fix/prerelease-provenance-env
Sep 21, 2026
Merged

patrickkabwe merged 1 commit into
mainfrom
fix/prerelease-provenance-env

Conversation

@patrickkabwe

@patrickkabwe patrickkabwe commented Sep 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep GitHub Actions detection available during pre-release publish so npm provenance can be generated
  • override GITHUB_REF for semantic-release branch detection instead of unsetting GITHUB_ACTIONS

Verification

  • git diff --check
  • targeted workflow inspection confirmed no remaining env -u GITHUB_ACTIONS, both release paths override GITHUB_REF, and NPM_CONFIG_PROVENANCE remains enabled

Summary by CodeRabbit

  • Chores
    • Updated the pre-release automation to use the configured pre-release branch reference for both actual and dry-run releases.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f50dd9dc-146f-440c-b0fd-62a443267806

📥 Commits

Reviewing files that changed from the base of the PR and between d11ec5a and 3771809.

📒 Files selected for processing (1)
  • .github/workflows/pre-release.yml
 _______________________________________________
< Now streaming live: defusing your code bombs. >
 -----------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

@patrickkabwe
patrickkabwe merged commit dd94ba6 into main Sep 21, 2026
24 of 25 checks passed
@patrickkabwe
patrickkabwe deleted the fix/prerelease-provenance-env branch September 21, 2026 07:29
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.8.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant