修改issues模板
This commit is contained in:
parent
bdc37071c3
commit
4bdbd7e43a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue