mirror of
https://github.com/anjia0532/gcr.io_mirror.git
synced 2025-09-22 19:52:51 +08:00
修改issues模板
This commit is contained in:
4
.github/workflows/gcr.io_mirror.yml
vendored
4
.github/workflows/gcr.io_mirror.yml
vendored
@@ -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)
|
||||
|
Reference in New Issue
Block a user