diff --git a/.github/ISSUE_TEMPLATE/allows-image.yml b/.github/ISSUE_TEMPLATE/allows-image.yml index 8110719..56a0b7d 100644 --- a/.github/ISSUE_TEMPLATE/allows-image.yml +++ b/.github/ISSUE_TEMPLATE/allows-image.yml @@ -11,18 +11,11 @@ body: - PR 合入后生效时间 - 主动同步 Issue 马上生效 - 服务器提供服务, 由于是人工的会延迟一段时间... - - 此为 **人工审核** (工作日, 不定时间) 请认证的填写下述问题 [查看成功案例](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 + - 此为 **人工审核** (工作日, 不定时间) 请填写下述问题 [查看成功案例](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+label%3A%22allows+image%22+is%3Aclosed+linked%3Apr) - type: dropdown attributes: - label: 要同步的级别 + label: 白名单级别 options: - 只需要这一个镜像 (如 docker.io/library/busybox) - 需要这个组织下所有镜像 (如 docker.io/library/**) diff --git a/.github/workflows/target-sync-image.yml b/.github/workflows/target-sync-image.yml index ef9902b..0e81cf1 100644 --- a/.github/workflows/target-sync-image.yml +++ b/.github/workflows/target-sync-image.yml @@ -64,6 +64,6 @@ jobs: if: failure() run: | 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 }})
请检查镜像是否存在以及在白名单, [查看成功例子](https://github.com/${{ github.repository }}/issues?q=is%3Aissue+is%3Aclosed+label%3A%22sync+image+succeeded%22)
如有疑问请回复 /auto-cc 召唤帮助" + gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
如有疑问请回复 /auto-cc 召唤帮助" 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"