Skip to content

Conversation

@joffeoja
Copy link
Contributor

@joffeoja joffeoja commented Nov 13, 2025

Description

Prevent GitHub Actions workflows that rely on repository secrets or publishing permissions from running on forks. A lot of daily/weekly email spam from failed workflows on forks that are missing the secrets...

This change updates multiple workflows so they only run when the repository is continuedev/continue by adding a guard just like in https://github.com/continuedev/continue/blob/main/.github/workflows/cla.yaml#L17-L18:

if: github.repository == 'continuedev/continue'

This ensures that scheduled tasks, release automation, metrics collection, and dependency submission workflows do not run (and fail) on contributor forks, while preserving all existing behavior for the main repository.

Workflows updated include:

  • Daily Snyk Agent
  • Metrics (issue metrics)
  • GitHub dependency graph submission
  • Beta Release
  • Stable Release
  • Package release workflows for:
    • @continuedev/config-yaml
    • @continuedev/fetch
    • @continuedev/llm-info
    • @continuedev/openai-adapters

Fixes #8662.

Tests

  • Validated syntax for each updated workflow
  • Confirmed that workflows are skipped on forks
  • Verified that workflows continue to run normally on continuedev/continue

@joffeoja joffeoja changed the title Skip run on forks ci: skip scheduled and release workflows on forks Nov 13, 2025
@joffeoja joffeoja marked this pull request as ready for review November 13, 2025 21:29
@joffeoja joffeoja requested a review from a team as a code owner November 13, 2025 21:29
@joffeoja joffeoja requested review from sestinj and removed request for a team November 13, 2025 21:29
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Nov 13, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 9 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Disable beta-release + snyk workflows on Github forks

1 participant