summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-12-18 15:23:23 -0600
committerAiden Cline <[email protected]>2025-12-18 15:23:23 -0600
commit323ea1040c25edc9d9c79aa79ef41db5abef24bc (patch)
treeca93e8bf5d639bf72c02e070c6136b4404e1a9d5 /.github
parent1fe87b0233bd50ac02d69ed9cfcb23b2d2911433 (diff)
downloadopencode-323ea1040c25edc9d9c79aa79ef41db5abef24bc.tar.gz
opencode-323ea1040c25edc9d9c79aa79ef41db5abef24bc.zip
ci: fix generate
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml
index 4836a78d6..66a38c376 100644
--- a/.github/workflows/generate.yml
+++ b/.github/workflows/generate.yml
@@ -47,7 +47,7 @@ jobs:
run: |
MESSAGE=$'Failed to push generated code. Please run locally and push:\n```\n./script/generate.ts\ngit add -A && git commit -m "chore: generate" && git push\n```'
if [ -n "${{ github.event.pull_request.number }}" ]; then
- gh pr comment ${{ github.event.pull_request.number }} --body "$MESSAGE"
+ gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$MESSAGE"
else
gh api repos/${{ github.repository }}/commits/${{ github.sha }}/comments -f body="$MESSAGE"
fi