Update GitHub Actions to run tests on all PRs - #130
Conversation
This change ensures that tests run for all PRs created, not just those targeting the main branch. The wildcard pattern '**' matches all branches, improving test coverage across the repository.
|
|
|
Caution Review failedThe pull request is closed. WalkthroughUpdated GitHub Actions workflow trigger for pull requests from ["*"] to ["**"] and added a trailing newline at the end of the file. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
📝 Storybook Preview: View Storybook This preview will be updated automatically when you push new changes to this PR.
|
Changes
This PR updates the GitHub Actions workflow to run tests on all PRs, not just those targeting the main branch.
Before
Previously, the test workflow was configured to run only on:
After
Now, the test workflow will run on:
This ensures that all PRs, regardless of their target branch, will have tests run against them, improving code quality and catching issues earlier in the development process.
Implementation
Changed the
pull_requesttrigger from:to:
The wildcard pattern
"**"matches all branches, ensuring comprehensive test coverage.Requested by Jake Ruesink.
💻 View my work • About Codegen
⛔ Remove Codegen from PR • 🚫 Ban action checks
Summary by CodeRabbit
Chores
Style