ci: add fork guards to scheduled workflows#7292
Merged
wpfleger96 merged 1 commit intoblock:mainfrom Feb 18, 2026
Merged
Conversation
Scheduled workflows fire on forks after syncing from upstream, causing failures and noise for contributors who maintain personal forks. Adding repository checks prevents these workflows from running outside of block/goose. Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds repository fork guards to all active scheduled GitHub Actions workflows to prevent them from failing when the repository is forked. The guards ensure these workflows only run in the canonical block/goose repository, not in user forks where they would fail due to missing secrets or permissions.
Changes:
- Added
if: github.repository == 'block/goose'condition to 7 scheduled workflows - Modified scorecard.yml to combine the new fork guard with its existing conditional logic
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/update-health-dashboard.yml |
Added fork guard to prevent dashboard updates from running on forks |
.github/workflows/update-hacktoberfest-leaderboard.yml |
Added fork guard to prevent leaderboard updates from running on forks |
.github/workflows/stale.yml |
Added fork guard to prevent stale PR processing from running on forks |
.github/workflows/scorecard.yml |
Combined fork guard with existing branch/PR conditional to prevent security scanning from running on forks |
.github/workflows/rebuild-skills-marketplace.yml |
Added fork guard to prevent documentation rebuilds from running on forks |
.github/workflows/minor-release.yaml |
Added fork guard to prevent automatic release PRs from running on forks |
.github/workflows/cargo-deny.yml |
Added fork guard to prevent dependency checks from running on forks |
jamadeo
approved these changes
Feb 18, 2026
aharvard
added a commit
that referenced
this pull request
Feb 18, 2026
* origin/main: feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277) fix(openai): support "reasoning" field alias in streaming deltas (#7294) fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300) New OpenAI event (#7301) ci: add fork guards to scheduled workflows (#7292) fix: allow ollama input limit override (#7281) chore: show important keys for provider configuration (#7265) fix: subrecipe relative path with summon (#7295) fix extension selector not displaying the correct enabled extensions (#7290) Use the working dir from the session (#7285) Fix: Minor logging uplift for debugging of prompt injection mitigation (#7195) feat(otel): make otel logging level configurable (#7271) docs: add documentation for Top Of Mind extension (#7283) Document gemini 3 thinking levels (#7282) docs: stream subagent tool calls (#7280) Docs: delete custom provider in desktop (#7279) # Conflicts: # ui/desktop/src/components/McpApps/McpAppRenderer.tsx
jh-block
added a commit
that referenced
this pull request
Feb 18, 2026
* origin/main: docs: remove ALPHA_FEATURES flag from documentation (#7315) docs: escape variable syntax in recipes (#7314) docs: update OTel environment variable and config guides (#7221) docs: system proxy settings (#7311) docs: add Summon extension tutorial and update Skills references (#7310) docs: agent session id (#7289) fix(gemini-cli): restore streaming lost in #7247 (#7291) Update more instructions (#7305) feat: add Moonshot and Kimi Code declarative providers (#7304) fix(cli): handle Reasoning content and fix streaming thinking display (#7296) feat: add GOOSE_SUBAGENT_MODEL and GOOSE_SUBAGENT_PROVIDER config options (#7277) fix(openai): support "reasoning" field alias in streaming deltas (#7294) fix(ui): revert app-driven iframe width and send containerDimensions per ext-apps spec (#7300) New OpenAI event (#7301) ci: add fork guards to scheduled workflows (#7292)
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
Prevent scheduled GH workflows from failing on forks of goose
Type of Change