fix(ci): skip scheduled workflows on forked repositories - #944
Merged
Teingi merged 1 commit intoMay 28, 2026
Conversation
Forked repos lack required secrets (QWEN_API_KEY, SILICONFLOW keys, PROJECT_ACCESS_TOKEN), causing daily CI failures and noisy email alerts. - regression.yml: gate schedule/push events on github.repository - sync-project-milestones.yml: gate all jobs on github.repository - pyproject.toml: fix project URLs (powermem/powermem → oceanbase/powermem, readthedocs.io → powermem.ai/docs) - docs/development/overview.md: fix stale readthedocs link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
QWEN_API_KEY,SILICONFLOW_*_API_KEY,PROJECT_ACCESS_TOKEN),causing daily CI failures and noisy email notifications for all fork maintainers.
scheduleandpushevents inregression.ymlongithub.repository == 'oceanbase/powermem'sofork repos silently skip instead of failing.
sync-project-milestones.yml.pyproject.tomlanddocs/development/overview.md:powermem/powermem→oceanbase/powermem(3 URLs)https://powermem.readthedocs.io→https://www.powermem.ai/docs(2 occurrences, readthedocsreturns 404)
Changed files
.github/workflows/regression.ymlschedule/pushgated on upstream repo;workflow_dispatchandpull_request_targetunchanged.github/workflows/sync-project-milestones.ymlpyproject.toml[project.urls]— Homepage, Repository, Issues, Documentationdocs/development/overview.mdMotivation
Every fork of this repo receives daily failure emails from the
Regression TestsandSync Project with Milestonesworkflows. These workflows depend on repo-level secrets that are unavailable in forks, sothey can never succeed. This is the standard approach used by large open-source projects (e.g.,
kubernetes, pytorch) to handle this.
Test plan
readthedocs.ioreturns 404 (confirmed via curl)https://www.powermem.ai/docsreturns 200 (confirmed via curl)ob-labs/*andopenclaw/openclawURLs are still valid (confirmed via