mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-11 20:34:46 +08:00
Update issue template (#3755)
This commit is contained in:
4
.github/workflows/target-sync-image.yml
vendored
4
.github/workflows/target-sync-image.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
||||
ORIGIN_IMAGE=$(echo ${{ github.event.issue.title }} | awk '{print $1}')
|
||||
./hack/diff-image.sh "${ORIGIN_IMAGE}" "m.daocloud.io/${ORIGIN_IMAGE}"
|
||||
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成<br>请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像"
|
||||
gh issue edit ${{ github.event.issue.number }} --add-label "sync image succeeded"
|
||||
gh issue edit ${{ github.event.issue.number }} --add-label "sync image succeeded" -b "IMAGE SYNC"
|
||||
gh issue close ${{ github.event.issue.number }} --reason "completed"
|
||||
|
||||
- name: Fail Sync
|
||||
@@ -69,5 +69,5 @@ jobs:
|
||||
run: |
|
||||
ORIGIN_IMAGE=$(echo ${{ github.event.issue.title }} | awk '{print $1}')
|
||||
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>请检查 image 是否存在, [查看成功例子](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+is%3Aclosed+label%3A%22sync+image+succeeded%22)<br>如有疑问请回复 /auto-cc 召唤帮助"
|
||||
gh issue edit ${{ github.event.issue.number }} --add-label "sync image failure"
|
||||
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"
|
||||
|
Reference in New Issue
Block a user