Skip to content

ci: add fork guards to scheduled workflows#7292

Merged
wpfleger96 merged 1 commit intoblock:mainfrom
wpfleger96:ci/fork-guards-for-scheduled-workflows
Feb 18, 2026
Merged

ci: add fork guards to scheduled workflows#7292
wpfleger96 merged 1 commit intoblock:mainfrom
wpfleger96:ci/fork-guards-for-scheduled-workflows

Conversation

@wpfleger96
Copy link
Collaborator

@wpfleger96 wpfleger96 commented Feb 18, 2026

Summary

Prevent scheduled GH workflows from failing on forks of goose

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

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>
Copilot AI review requested due to automatic review settings February 18, 2026 03:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@wpfleger96 wpfleger96 added this pull request to the merge queue Feb 18, 2026
Merged via the queue into block:main with commit 2b9eb41 Feb 18, 2026
25 checks passed
@wpfleger96 wpfleger96 deleted the ci/fork-guards-for-scheduled-workflows branch February 18, 2026 13:21
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments