Skip to content

Commit 1eb438f

Browse files
committed
fix: specify repository in PR comment command
1 parent a7462b2 commit 1eb438f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/label-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Warn about invalid PR title
2929
if: steps.update-pr-labels.outcome == 'failure'
30-
run: gh pr comment "$PR_NUMBER" --body "$BODY"
30+
run: gh pr comment "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --body "$BODY"
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
PR_NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)