Title: squad init installs generic CI/CD workflows without opt-in · Issue #201 · github/squad · GitHub
Open Graph Title: squad init installs generic CI/CD workflows without opt-in · Issue #201 · github/squad
X Title: squad init installs generic CI/CD workflows without opt-in · Issue #201 · github/squad
Description: Problem When squad init is run, it copies all 12 workflows from templates/workflows/ into the user's .github/workflows/ directory unconditionally. These fall into two distinct categories: Category 1 — Squad-framework workflows (appropria...
Open Graph Description: Problem When squad init is run, it copies all 12 workflows from templates/workflows/ into the user's .github/workflows/ directory unconditionally. These fall into two distinct categories: Category ...
X Description: Problem When squad init is run, it copies all 12 workflows from templates/workflows/ into the user's .github/workflows/ directory unconditionally. These fall into two distinct categories: Categ...
Opengraph URL: https://github.com/github/squad/issues/201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"squad init installs generic CI/CD workflows without opt-in","articleBody":"## Problem\n\nWhen `squad init` is run, it copies all 12 workflows from `templates/workflows/` into the user's `.github/workflows/` directory unconditionally. These fall into two distinct categories:\n\n### Category 1 — Squad-framework workflows (appropriate in user repos)\nThese automate Squad's AI team features and make sense in any Squad-enabled repo:\n- `squad-heartbeat.yml` — Auto-triage on issues/PRs via Ralph\n- `squad-triage.yml` — Assigns `squad:*` labels when `squad` label is added\n- `squad-issue-assign.yml` — Routes issues to agent members\n- `sync-squad-labels.yml` — Syncs `squad:*` labels from `team.md` roster\n\n### Category 2 — Squad product CI/CD (should never be installed in user repos)\nThese are Squad's own product pipeline and make assumptions about Squad's specific tech stack:\n- `squad-ci.yml` — Hardcodes branches `dev/preview/main/insider`, runs `node --test test/*.test.js`\n- `squad-release.yml` — Creates GitHub releases from `package.json` (npm only)\n- `squad-docs.yml`, `squad-insider-release.yml`, `squad-preview.yml`, `squad-promote.yml` — Squad's own deployment pipelines\n- `squad-main-guard.yml`, `squad-label-enforce.yml` — Squad-specific branch/label enforcement\n\n## Impact\n\nSilently installing the Category 2 workflows can:\n- Conflict with existing CI workflows the user already has\n- Fail on non-Node projects (Python, Go, Rust, etc.)\n- Trigger unwanted release automation against Squad's own branch strategy\n\n## Fix\n\nAdd a `FRAMEWORK_WORKFLOWS` constant and unconditionally filter the workflow copy loop to only install the four framework workflows. No option or user prompt needed — the Category 2 workflows are Squad's own product CI/CD and have no place in any user repo.\n\n### Files changed\n- `packages/squad-sdk/src/config/init.ts` — add `FRAMEWORK_WORKFLOWS` constant + filter copy loop","author":{"url":"https://github.com/williamhallatt","@type":"Person","name":"williamhallatt"},"datePublished":"2026-03-05T09:02:14Z","url":"https://github.com/github/squad/issues/201"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1ccdf2f-09fd-8057-97e2-ba334c7dafbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E04:882E2:1C5FA95:254830B:6B014E0F |
| html-safe-nonce | 003d6ad5ad7a9fbdbcf48d4688430f4440f13010ab45244275076fc2c8a3371d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTA0Ojg4MkUyOjFDNUZBOTU6MjU0ODMwQjo2QjAxNEUwRiIsInZpc2l0b3JfaWQiOiI3MDA0MDMwMjQ2MzAzMzg3MTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d5970cf9aa4e7804fa58d4c17db99cb1f951603179c2a0766f6809517e1ad90d |
| hovercard-subject-tag | issue:4026863497 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e4b6f6c5f557d967e8d342bbdc22fb56d52968f2a65989de5efd188a6d136588/github/squad/issues/201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e4b6f6c5f557d967e8d342bbdc22fb56d52968f2a65989de5efd188a6d136588/github/squad/issues/201 |
| og:image:alt | Problem When squad init is run, it copies all 12 workflows from templates/workflows/ into the user's .github/workflows/ directory unconditionally. These fall into two distinct categories: Category ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | williamhallatt |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width