Skip to content

ci: add release-please-develop pre-release workflow - #362

Open
SoulPancake wants to merge 1 commit into
mainfrom
feat/release-please-develop
Open

ci: add release-please-develop pre-release workflow#362
SoulPancake wants to merge 1 commit into
mainfrom
feat/release-please-develop

Conversation

@SoulPancake

@SoulPancake SoulPancake commented Jul 28, 2026

Copy link
Copy Markdown
Member

Adds a release-please-develop workflow enabling pre-release (alpha/beta/rc) releases from the develop branch, via workflow_dispatch or on merge of a release: PR. It is a thin caller around the shared openfga/.github reusable release-please-prerelease.yml, mirroring the existing release-please main flow.

Reference: https://github.com/openfga/js-sdk/blob/main/.github/workflows/release-please-develop.yml

Summary by CodeRabbit

  • New Features
    • Added automated pre-release publication support for the develop branch.
    • Supports alpha, beta, and release-candidate versions through manual release requests.
    • Automatically prepares eligible releases based on release commit activity.

Copilot AI review requested due to automatic review settings July 28, 2026 11:37
@SoulPancake
SoulPancake requested a review from a team as a code owner July 28, 2026 11:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new GitHub Actions workflow to support a pre-release (alpha/beta/rc) release lane from the develop branch, implemented as a thin caller to the shared openfga/.github reusable release-please-prerelease.yml workflow (mirroring the existing stable release-please workflow on main).

Changes:

  • Introduces .github/workflows/release-please-develop.yml to trigger pre-release automation on develop (push) and via manual dispatch.
  • Wires the workflow to the shared reusable pre-release workflow with pinned SHA and appropriate permissions, inputs, and required secrets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov-commenter

codecov-commenter commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.69%. Comparing base (89a0a97) to head (6d438ce).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #362   +/-   ##
=========================================
  Coverage     38.69%   38.69%           
  Complexity     1290     1290           
=========================================
  Files           198      198           
  Lines          7707     7707           
  Branches        900      900           
=========================================
  Hits           2982     2982           
  Misses         4579     4579           
  Partials        146      146           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 061ce7ad-9267-47e9-a9a9-114af56a7e1e

📥 Commits

Reviewing files that changed from the base of the PR and between 89a0a97 and 6d438ce.

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

Walkthrough

Adds a GitHub Actions workflow that publishes prereleases from develop through a pinned reusable workflow, with manual and commit-triggered execution, prerelease version validation, scoped permissions, branch mapping, and release-signing secrets.

Changes

Develop prerelease publication

Layer / File(s) Summary
Workflow triggers and release input
.github/workflows/release-please-develop.yml
Defines develop push and manual triggers, documents the experimental prerelease lane, and requires an alpha-, beta-, or rc-style release version for manual runs.
Conditional prerelease job
.github/workflows/release-please-develop.yml
Adds the conditionally executed prerelease job, scoped write permissions, pinned reusable workflow, branch mappings, optional version forwarding, and release-signing secrets.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: rhamzeh

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding a develop-branch release-please pre-release workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/release-please-develop

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.

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.

3 participants