0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
mastra/.github/workflows
…
History
..
data
shared-actions/set-pr-status
affected-graph-seed.yml
backport-auto.yml
codeql.yml
cron-alpha-publish.yml
discord-release.yml
e2e-docs.yml
e2e-experiment-worker.yml
e2e-experiments.test.ts
e2e-tests.yml
flag-spam-comments.yml
issue-pending-release.yml
issue-triage.yml
labeler.yml
lint-docs.yml
lint.yml
major-version-check.yml
mastracode-e2e.yml
npm-publish.yml
prebuild.yml
README.md
regenerate-provider-registry.yml
renovate.yml
secrets.test-workspaces.yml
starsling-disks.yml
sync-templates.yml
sync_renovate-changesets.yml
test-combined-stores.yml
test-durable-streams.yml
test-suite.yml
test-tiers.yml
test-workspaces.yml
trigger-cloud-tests.yml
upload-studio-r2.yml
version-packages.yml
vitest-all.yml

GitHub Workflows

This directory contains GitHub Actions workflow files for the Mastra project.

Preventing Workflows from Running on Forks

To prevent workflows from running on forked repositories, we've added a condition to each workflow file that checks if the repository is the main Mastra repository:

if: ${{ github.repository == 'mastra-ai/mastra' }}

If a job already has an if condition, we combine them:

if: ${{ github.repository == 'mastra-ai/mastra' && (your existing condition) }}

Benefits

  • Prevents unnecessary workflow runs on forks
  • Reduces notifications for fork owners
  • Saves GitHub Actions minutes