Skip to content

Commit efccc01

Browse files
tttt
1 parent 86f8d17 commit efccc01

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/auto-comment-pr.yml

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

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [ opened, synchronize ]
66

77
jobs:
@@ -15,7 +15,7 @@ jobs:
1515
- name: Create a comment
1616
uses: actions/github-script@v7
1717
with:
18-
github-token: ${{ secrets.PAT_TOKEN }}
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
1919
script: |
2020
const { owner, repo, number: issue_number } = context.issue;
2121
const commentBody = "Please review this PR.";

.github/workflows/auto_request_review.yml

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

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [ opened, synchronize ]
66

77
jobs:
@@ -15,7 +15,7 @@ jobs:
1515
- name: Create a comment
1616
uses: actions/github-script@v7
1717
with:
18-
github-token: ${{ secrets.PAT_TOKEN }}
18+
github-token: ${{ secrets.GITHUB_TOKEN }}
1919
script: |
2020
const { owner, repo, number: issue_number } = context.issue;
2121
const commentBody = "Please review this PR.";

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: automerge
1414
uses: "pascalgn/[email protected]"
1515
env:
16-
GITHUB_TOKEN: "${{ secrets.PAT_TOKEN }}"
16+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1717
MERGE_LABELS: "approved,auto merge"
1818
MERGE_METHOD: "squash"
1919
MERGE_COMMIT_MESSAGE: "pull-request-title"

0 commit comments

Comments
 (0)