Skip to content

Commit c2aafe0

Browse files
committed
pull request target
1 parent 31986a0 commit c2aafe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr_thanks_action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Thank PR Author
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types:
66
- closed
77

@@ -16,7 +16,7 @@ jobs:
1616
- name: Post a themed thank you comment
1717
uses: actions/github-script@v7
1818
with:
19-
github-token: ${{ secrets.PR_COMMENT_TOKEN }}
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
2020
script: |
2121
const prNumber = context.payload.pull_request.number;
2222
const author = context.payload.pull_request.user.login;

0 commit comments

Comments
 (0)