feat: draft releases, version verification, and reusable workflows#287
feat: draft releases, version verification, and reusable workflows#287SoulPancake wants to merge 1 commit intomainfrom
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Review rate limit: 0/1 reviews remaining, refill in 59 minutes and 12 seconds.Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the release/CI automation to support draft releases, add a tag/manifest/pyproject version consistency gate before publishing, and replace some in-repo workflow logic with reusable workflows from openfga/sdk-generator.
Changes:
- Configure release-please to create draft releases (
"draft": true). - Switch PR title conventional-commit validation to a reusable workflow.
- Add a
verify-versionjob before publishing on tag pushes and replace the release finalization step with an undraft reusable workflow.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| release-please-config.json | Enables draft behavior for release-please releases. |
| .github/workflows/pr-title-conventional-commit.yml | Replaces inline PR title validation with a reusable workflow. |
| .github/workflows/main.yaml | Adds version verification prior to publish and delegates undrafting to a reusable workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| with: | ||
| task_types: '["feat","fix","docs","test","refactor","ci","perf","chore","revert","release"]' | ||
| add_label: 'false' | ||
| uses: openfga/sdk-generator/.github/workflows/pr-title-check.yml@main |
| run: | | ||
| TAG_VERSION="${GITHUB_REF#refs/tags/v}" | ||
| MANIFEST_VERSION=$(jq -r '.["."]' .release-please-manifest.json) | ||
| PYPROJECT_VERSION=$(grep '^version = ' pyproject.toml | head -1 | sed 's/version = "\(.*\)"/\1/') |
| version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| uses: openfga/sdk-generator/.github/workflows/undraft-release.yml@main |
Description
What problem is being solved?
How is it being solved?
What changes are made to solve it?
References
Review Checklist
main