Skipped Tinybird tests job on forks#27344
Conversation
The `if: github.repository == 'TryGhost/Ghost'` condition was always true for fork PRs because `github.repository` refers to the base repo in pull_request events. This caused the dispatch step to run without the required secret, failing the job. The new condition skips the dispatch step when the PR originates from a fork.
WalkthroughThe conditional logic for a Tinybird workflow step in the CI pipeline was modified. Previously, the step ran only when the repository matched a specific value. The new logic allows the step to execute for all non-pull-request events, while for pull-request events, it runs only when the PR's head repository matches the current repository. This change adjusts when the traffic analytics infrastructure workflow is triggered during the CI process. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27344 +/- ##
=======================================
Coverage 73.46% 73.46%
=======================================
Files 1545 1545
Lines 123724 123724
Branches 14970 14970
=======================================
+ Hits 90893 90894 +1
- Misses 31808 31828 +20
+ Partials 1023 1002 -21
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
no ref This task requires a secret that's not available on forks, and we should skip it like we do other jobs.



no ref
This task requires a secret that's not available on forks, and we should skip it like we do other jobs.