Skip to content

Commit 0d26809

Browse files
authored
Fix Auto-PR comment on squash-label
1 parent e02e812 commit 0d26809

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/comment-on-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
issues: write
1212
steps:
1313
- name: Add comment
14-
run: gh issue comment "$NUMBER" --body "$BODY"
14+
run: gh pr comment "$NUMBER" --body "$BODY"
1515
env:
1616
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
GH_REPO: ${{ github.repository }}
18-
NUMBER: ${{ github.event.issue.number }}
18+
NUMBER: ${{ github.event.number }}
1919
BODY: >
2020
Please squash your commits together in order to get htem merged
2121
:sparkles: Thank you for your contribution! :sparkles:

0 commit comments

Comments
 (0)