Skip to content

Commit 323ea10

Browse files
committed
ci: fix generate
1 parent 1fe87b0 commit 323ea10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/generate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
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```'
4949
if [ -n "${{ github.event.pull_request.number }}" ]; then
50-
gh pr comment ${{ github.event.pull_request.number }} --body "$MESSAGE"
50+
gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$MESSAGE"
5151
else
5252
gh api repos/${{ github.repository }}/commits/${{ github.sha }}/comments -f body="$MESSAGE"
5353
fi

0 commit comments

Comments
 (0)