fix(workflow): using github-script (#2701)

* fix(workflow): using github-script

* fix more

Signed-off-by: Yinan Qin <elysia-best@simplelinux.cn.eu.org>

---------

Signed-off-by: Yinan Qin <elysia-best@simplelinux.cn.eu.org>
This commit is contained in:
Yinan Qin
2026-07-01 16:45:15 +08:00
committed by GitHub
parent f63a5e15ee
commit fcae009bd3
2 changed files with 28 additions and 15 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ jobs:
if: github.event_name == 'issues'
steps:
- name: Check issue for unchecked tasks and reply
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
let comment = "";
@@ -81,7 +81,7 @@ jobs:
if: github.event_name == 'pull_request'
steps:
- name: Check PR title for required prefix and comment
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const title = context.payload.pull_request.title || "";