Skip to content

Commit 898bff3

Browse files
authored
[ISSUE #553]🔧Update workflows config file
1 parent 590b78b commit 898bff3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ 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;
21-
const commentBody = "@coderabbitai review Please review this PR.";
21+
const commentBody = "Please review this PR.";
2222
github.rest.issues.createComment({
2323
owner,
2424
repo,

.github/workflows/auto_request_review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Auto Request Review
22

33
on:
44
pull_request:
5-
types: [ opened, ready_for_review, reopened ]
5+
types: [ opened, ready_for_review, reopened, synchronize ]
66

77
jobs:
88
auto-request-review:

.github/workflows/automerge.yml

+2-2
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"
@@ -27,7 +27,7 @@ jobs:
2727
if: ${{ steps.automerge.outputs.mergeResult == 'merged' }}
2828
uses: actions/github-script@v7
2929
with:
30-
github-token: ${{ secrets.PAT_TOKEN }}
30+
github-token: ${{ secrets.GITHUB_TOKEN }}
3131
script: |
3232
const { owner, repo, number: issue_number } = context.issue;
3333
github.rest.issues.createComment({

0 commit comments

Comments
 (0)