修改issues模板

This commit is contained in:
AnJia 2022-09-08 14:23:04 +08:00
parent bdc37071c3
commit 4bdbd7e43a
1 changed files with 2 additions and 2 deletions

View File

@ -35,14 +35,14 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const openIssues = await github.issues.listForRepo({
const openIssues = await github.issues.listForRepo({
owner: '${{ github.repository_owner }}',
repo: '${{ github.event.repository.name }}',
state: 'open',
per_page: 100,
sort: "created",
direction: "desc",
})
})
if (!Array.isArray(openIssues["data"]) || !openIssues["data"].length) {
core.setOutput('SUCCESS', true)