Skip to content

Commit d822e30

Browse files
authored
ci: grant issues write permission and bump github-script to v7 (#94)
1 parent 16b78f8 commit d822e30

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/pr-auto-reply.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
types: [opened] # 仅在 PR 被打开时触发
66

77
permissions:
8-
pull-requests: write # 赋予机器人评论权限
8+
pull-requests: write
9+
issues: write
910

1011
jobs:
1112
auto-reply:
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Send PR comment
15-
uses: actions/github-script@v5
16+
uses: actions/github-script@v7
1617
with:
1718
script: |
1819
const issueNumber = context.payload.pull_request.number;

0 commit comments

Comments
 (0)