We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31986a0 commit c2aafe0Copy full SHA for c2aafe0
.github/workflows/pr_thanks_action.yaml
@@ -1,7 +1,7 @@
1
name: Thank PR Author
2
3
on:
4
- pull_request:
+ pull_request_target:
5
types:
6
- closed
7
@@ -16,7 +16,7 @@ jobs:
16
- name: Post a themed thank you comment
17
uses: actions/github-script@v7
18
with:
19
- github-token: ${{ secrets.PR_COMMENT_TOKEN }}
+ github-token: ${{ secrets.GITHUB_TOKEN }}
20
script: |
21
const prNumber = context.payload.pull_request.number;
22
const author = context.payload.pull_request.user.login;
0 commit comments