Skip to content

Commit 86f0871

Browse files
fix ci
1 parent b9f47b4 commit 86f0871

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- name: Create a comment
1616
uses: actions/github-script@v7
1717
with:
18-
github-token: ${{ secrets.GITHUB_TOKEN }}
1918
script: |
2019
const { owner, repo, number: issue_number } = context.issue;
2120
const commentBody = "Please review this PR.";

.github/workflows/automerge.yml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: automerge
1414
uses: "pascalgn/[email protected]"
15+
permissions:
16+
contents: write
1517
env:
1618
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1719
MERGE_LABELS: "approved,auto merge"

.github/workflows/label-on-approval.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
id: check_approval
1717
uses: actions/github-script@v7
1818
with:
19-
github-token: ${{ secrets.GITHUB_TOKEN }}
2019
script: |
2120
const { owner, repo } = context.repo;
2221
const { pull_request, review } = context.payload;

0 commit comments

Comments
 (0)