Update template
This commit is contained in:
parent
956a3108e1
commit
55fe39fbad
|
@ -11,18 +11,11 @@ body:
|
||||||
- PR 合入后生效时间
|
- PR 合入后生效时间
|
||||||
- 主动同步 Issue 马上生效
|
- 主动同步 Issue 马上生效
|
||||||
- 服务器提供服务, 由于是人工的会延迟一段时间...
|
- 服务器提供服务, 由于是人工的会延迟一段时间...
|
||||||
- 此为 **人工审核** (工作日, 不定时间) 请认证的填写下述问题 [查看成功案例](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+label%3A%22allows+image%22+is%3Aclosed+linked%3Apr)
|
- 此为 **人工审核** (工作日, 不定时间) 请填写下述问题 [查看成功案例](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+label%3A%22allows+image%22+is%3Aclosed+linked%3Apr)
|
||||||
|
|
||||||
- type: checkboxes
|
|
||||||
attributes:
|
|
||||||
label: 镜像是否符合下列要求
|
|
||||||
options:
|
|
||||||
- label: 确认这个镜像符合要求
|
|
||||||
required: true
|
|
||||||
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
attributes:
|
attributes:
|
||||||
label: 要同步的级别
|
label: 白名单级别
|
||||||
options:
|
options:
|
||||||
- 只需要这一个镜像 (如 docker.io/library/busybox)
|
- 只需要这一个镜像 (如 docker.io/library/busybox)
|
||||||
- 需要这个组织下所有镜像 (如 docker.io/library/**)
|
- 需要这个组织下所有镜像 (如 docker.io/library/**)
|
||||||
|
|
|
@ -64,6 +64,6 @@ jobs:
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
ORIGIN_IMAGE="${{ steps.get-image.outputs.image }}"
|
ORIGIN_IMAGE="${{ steps.get-image.outputs.image }}"
|
||||||
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>请检查镜像是否存在以及在白名单, [查看成功例子](https://github.com/${{ github.repository }}/issues?q=is%3Aissue+is%3Aclosed+label%3A%22sync+image+succeeded%22)<br>如有疑问请回复 /auto-cc 召唤帮助"
|
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>如有疑问请回复 /auto-cc 召唤帮助"
|
||||||
gh issue edit ${{ github.event.issue.number }} --add-label "sync image failure" -b "IMAGE SYNC"
|
gh issue edit ${{ github.event.issue.number }} --add-label "sync image failure" -b "IMAGE SYNC"
|
||||||
gh issue close ${{ github.event.issue.number }} --reason "not planned"
|
gh issue close ${{ github.event.issue.number }} --reason "not planned"
|
||||||
|
|
Loading…
Reference in New Issue