Skip to content

ci: block .squad/.copilot files from merging into main (#116)#117

Merged
fboucher merged 1 commit intomainfrom
fix/block-squad-on-main
Apr 3, 2026
Merged

ci: block .squad/.copilot files from merging into main (#116)#117
fboucher merged 1 commit intomainfrom
fix/block-squad-on-main

Conversation

@fboucher
Copy link
Copy Markdown
Owner

@fboucher fboucher commented Apr 3, 2026

What

Adds a GitHub Actions workflow that fails any PR to main that adds or modifies files under .squad/, .copilot/, or .github/agents/.

Why

Closes #116 — AI team files should live on dev/feature branches only.

Notes

  • Uses --diff-filter=AM so deletions are allowed (the cleanup PR won't be blocked)
  • Triggers only on PRs targeting main

Adds a PR check that fails if any .squad/, .copilot/, or .github/agents/
files are added or modified in a PR targeting main.

Deletions are explicitly allowed so the cleanup PR can pass.

Co-authored-by: Copilot <[email protected]>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

Code Coverage

Package Line Rate Branch Rate Health
NoteBookmark.AIServices 97% 64%
NoteBookmark.Api 91% 80%
NoteBookmark.Domain 85% 75%
NoteBookmark.ServiceDefaults 96% 75%
Summary 91% (780 / 859) 78% (175 / 225)

@fboucher fboucher merged commit af4d7fe into main Apr 3, 2026
3 checks passed
@fboucher fboucher deleted the fix/block-squad-on-main branch April 3, 2026 14:01
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.

Squad on main!

1 participant