Update target-sync-image.yml (#3421)

This commit is contained in:
Shiming Zhang
2024-06-08 18:14:47 +08:00
committed by GitHub
parent 69cb8b5521
commit 63c769a3df

View File

@@ -68,6 +68,6 @@ jobs:
if: failure()
run: |
ORIGIN_IMAGE=$(echo ${{ github.event.issue.title }})
gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败<br>[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>[查看成功例子](https://github.com/DaoCloud/public-image-mirror/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} 同步失败<br>[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>[查看成功例子](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 close ${{ github.event.issue.number }} --reason "not planned"