Skip to content

Commit a377788

Browse files
committed
chore: pass down pr number
1 parent 59b0e64 commit a377788

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/issue-labeled.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
with:
2828
actions: create-comment
2929
token: ${{ secrets.GITHUB_TOKEN }}
30-
issue-number: ${{ github.event.issue.number }}
30+
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
3131
body: |
32-
Hello @${{ github.event.issue.user.login }}. Your content has been labeled `maybe automated` because it appears to have been fully generated by AI with no human involvement. It will be **closed automatically in 3 days** unless a real person responds.
32+
Hello @${{ github.event.issue.user.login || github.event.pull_request.user.login }}. Your content has been labeled `maybe automated` because it appears to have been fully generated by AI with no human involvement. It will be **closed automatically in 3 days** unless a real person responds.
3333
3434
If you're a real person behind this contribution, please:
3535
- Confirm you've personally reviewed and stand behind its content

0 commit comments

Comments
 (0)