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:
10
.github/workflows/gcr.io_mirror.yml
vendored
10
.github/workflows/gcr.io_mirror.yml
vendored
@@ -48,8 +48,16 @@ jobs:
|
||||
core.setOutput('SUCCESS', true)
|
||||
return
|
||||
}
|
||||
|
||||
let validLabels=false
|
||||
for(let issues of openIssues['data']){
|
||||
for(let labels of issues["labels"]){
|
||||
if(labels["name"]=="porter" || labels["name"]=="question"){
|
||||
validLabels=true
|
||||
}
|
||||
}
|
||||
if(validLabels){
|
||||
continue
|
||||
}
|
||||
await github.issues.createComment({
|
||||
owner: '${{ github.repository_owner }}',
|
||||
repo: '${{ github.event.repository.name }}',
|
||||
|
Reference in New Issue
Block a user