1 parent 1fe87b0 commit 323ea10Copy full SHA for 323ea10
1 file changed
.github/workflows/generate.yml
@@ -47,7 +47,7 @@ jobs:
47
run: |
48
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```'
49
if [ -n "${{ github.event.pull_request.number }}" ]; then
50
- gh pr comment ${{ github.event.pull_request.number }} --body "$MESSAGE"
+ gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body "$MESSAGE"
51
else
52
gh api repos/${{ github.repository }}/commits/${{ github.sha }}/comments -f body="$MESSAGE"
53
fi
0 commit comments