Skip to content

Commit c26301b

Browse files
loks0nclaude
andcommitted
Add the absorption playbook
bin/monorepo absorb runs it: import with history, strip hoisted QA, write a mirror.yml that closes mirror PRs with a redirect to the monorepo, banner the README, and create the mirror ruleset (PR-only, split app bypassed). Applied to all five packages; manual steps documented in the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 65a914d commit c26301b

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Mirror
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
redirect:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Redirect pull request to the monorepo
15+
env:
16+
GH_TOKEN: ${{ github.token }}
17+
PR: ${{ github.event.pull_request.html_url }}
18+
run: |
19+
gh pr comment "$PR" --body "Thanks for contributing! This repository is a read-only mirror — development for this library happens in [\`packages/http\`](https://github.com/utopia-php/monorepo/tree/main/packages/http) in the [utopia-php monorepo](https://github.com/utopia-php/monorepo). Please open this pull request there instead."
20+
gh pr close "$PR"

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
> [!IMPORTANT]
2+
> This repository is a read-only mirror of the [utopia-php monorepo](https://github.com/utopia-php/monorepo). Development happens in [`packages/http`](https://github.com/utopia-php/monorepo/tree/main/packages/http) — please open issues and pull requests there.
3+
14
<p>
25
<img height="45" src="docs/logo.png" alt="Logo">
36
</p>

0 commit comments

Comments
 (0)