-
Notifications
You must be signed in to change notification settings - Fork 15
chore(ci): run release please before other jobs #1846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…cess - Moved the 'release-please' job to run independently and added it as a dependency for the 'test-api' and 'build-plugin-staging-pr' jobs. - Updated permissions and checkout steps for the 'release-please' job to ensure proper execution on main branch pushes. - Enhanced workflow structure for better clarity and maintainability.
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughThe workflow reorganizes the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-02-07T19:53:37.715ZApplied to files:
🔇 Additional comments (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| run: | ||
| working-directory: api | ||
| runs-on: ubuntu-latest | ||
| needs: release-please | ||
| steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid gating PR tests on release-please
The new needs: release-please on test-api makes all validation jobs depend on a job that only runs on push to main (see the if on lines 18‑21). On pull_request events release-please is skipped, and GitHub Actions skips any job whose dependency is skipped, so PR workflows will no longer run lint/type-check/tests or the plugin staging build at all. That removes CI coverage for incoming changes.
Useful? React with 👍 / 👎.
…ing-pr' job in workflow
| run: | ||
| working-directory: api | ||
| runs-on: ubuntu-latest | ||
| needs: release-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we gate build-artifacts as well, or will only blocking one of them suffice? if it's a one or the other situation, i'd recommend blocking build-artifacts since the test run takes much longer.
…cess
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.