Skip to content

ci: meat reading-diff comment on PRs - #21

Merged
rohansx merged 2 commits into
masterfrom
meat-ci
Aug 9, 2026
Merged

rohansx merged 2 commits into
masterfrom
meat-ci

Conversation

@rohansx

@rohansx rohansx commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions workflow that runs meat on every PR and posts an abridged reading diff as a comment — mechanical noise elided, behavior-bearing changes kept.

Setup required before it can run:

gh secret set ANTHROPIC_API_KEY -R rohansx/leadecho

The workflow fails loudly with a clear message if the secret is missing. Since pull_request workflows run from the PR head, this very PR will demo the output once the secret is set (re-run the failed job or push any commit).

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review failed: 0 finding(s); 1 of 1 selected item(s) failed.

@github-actions

github-actions Bot commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

🥩 Reading diff

# Add new CI workflow that selects LLM backend, checks out code, sets up Go, installs meat, generates a reading diff, and posts it as a PR comment
# kept 25/57 changed lines in 1/1 files

diff --git a/.github/workflows/meat.yml b/.github/workflows/meat.yml
new file mode 100644
index 0000000..0c8bfb6
--- /dev/null
+++ b/.github/workflows/meat.yml
@@ -0,0 +1,57 @@
+name: meat reading diff
+on:
+  pull_request:
+permissions:
+  contents: read
+  pull-requests: write
+jobs:
+  meat:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Pick LLM backend
+        run: |
+          ...
+      - uses: actions/checkout@v4
+      - uses: actions/setup-go@v5
+
+      - name: Install meat
+        run: go install meat.dev/cmd/meat@latest
+      - name: Generate reading diff
+        run: |
+      - name: Post comment
+        env:
+          GH_TOKEN: ${{ github.token }}
+        run: |
+          ...

Abridged by meat (model: gpt-oss:120b) — mechanical noise elided, behavior-bearing changes kept.

@rohansx
rohansx merged commit ea6107d into master Aug 9, 2026
4 of 6 checks passed
@viggy28

viggy28 commented Aug 16, 2026

Copy link
Copy Markdown

Good idea.

I hope meat won't use phrases like "mechanical noise elided, behavior-bearing changes kept" !

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.

2 participants