From 9f12eab383ab0fd348c9d35cd248cd939a2c5796 Mon Sep 17 00:00:00 2001 From: "t3-code[bot]" <269035359+t3-code[bot]@users.noreply.github.com> Date: Fri, 21 Aug 2026 04:49:43 -0400 Subject: [PATCH] chore: stop committing pull request assets (#7762) Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: maria <254055478+maria-rcks@users.noreply.github.com> --- .github/pr-assets/6424-after.svg | 1 - .github/pr-assets/6424-before.svg | 1 - .github/pr-assets/6503-after.svg | 1 - .github/workflows/ci.yml | 8 ++++++++ .gitignore | 1 + AGENTS.md | 1 + 6 files changed, 10 insertions(+), 3 deletions(-) delete mode 100644 .github/pr-assets/6424-after.svg delete mode 100644 .github/pr-assets/6424-before.svg delete mode 100644 .github/pr-assets/6503-after.svg diff --git a/.github/pr-assets/6424-after.svg b/.github/pr-assets/6424-after.svg deleted file mode 100644 index dbeb594a09da96837006b6ead15cd49a35b17e72..0000000000000000000000000000000000000000 --- a/.github/pr-assets/6424-after.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/pr-assets/6424-before.svg b/.github/pr-assets/6424-before.svg deleted file mode 100644 index 6b365bad6e699a5dfb45aa4ed34d5a11410c67ea..0000000000000000000000000000000000000000 --- a/.github/pr-assets/6424-before.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/pr-assets/6503-after.svg b/.github/pr-assets/6503-after.svg deleted file mode 100644 index db1c9cb54065cb9d03929d76e87bc101b0278c0e..0000000000000000000000000000000000000000 --- a/.github/pr-assets/6503-after.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f91ec1b48b64c3dab69ac4b483e440524dd1994..731707eed4d23c25b38416acfc70bb9380f01eb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,14 @@ jobs: !/.repos/ sparse-checkout-cone-mode: false + - name: Reject repository-owned PR assets + run: | + files="$(git ls-files .github/pr-assets)" + if test -n "$files"; then + printf 'PR evidence must be uploaded to GitHub, not committed:\n%s\n' "$files" >&2 + exit 1 + fi + - name: Setup Vite+ uses: voidzero-dev/setup-vp@v1 with: diff --git a/.gitignore b/.gitignore index 34ef742fce30ee0588158ad3cc9b77154942ea04..57262578a786d1f26442abfa90584eede6fd1a4c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ dist-electron/ .showcase/ apps/mobile/.showcase/ artifacts/app-store/screenshots/ +.github/pr-assets/ native/**/target/ node_modules/ .alchemy/ diff --git a/AGENTS.md b/AGENTS.md index 85f767f9718f77b5bfa49d81fcd765315768b490..784b37cc47b254d5759c0f7f4f82c216bbee5f29 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -115,6 +115,7 @@ An empty database is a bad test. Seed your worktree's `.t3` with a copy of real - Conventional commit titles, plain language: `fix(web): new threads no longer spike CPU`. - Body: the problem in a sentence or two, then how you fixed it. End with the model and harness that did the work. - UI changes need before/after images. Motion or timing needs a short video. +- Upload PR evidence to GitHub. Never commit PR-only screenshots or assets such as `.github/pr-assets/`. - One concern per PR. If the description says "also", split it. - When babysitting: poll checks and comments newer than the last push, verify each bot finding against the source, fix real ones, dismiss false positives with a written reason. Stay quiet when nothing is new. Stop when the bots are green on the latest commit. -- 2.54.0