Skip to content

Commit 811853a

Browse files
committed
chore: protect workflow files from fork merge deletions
Add .gitattributes with merge=ours strategy for: - Claude review workflow - Template cleanup workflow - Claude PR review script This prevents these files from being deleted when merging PRs from forks that have run the cleanup workflow.
1 parent 7a38a13 commit 811853a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Protect workflow files from being deleted during merges from forks
2+
# These files should always be preserved in the main repository
3+
.github/workflows/claude-review.yml merge=ours
4+
.github/workflows/template-cleanup.yml merge=ours
5+
scripts/claude-pr-review.ts merge=ours

0 commit comments

Comments
 (0)