mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-10-10 23:09:19 +08:00
Fix
This commit is contained in:
9
.github/workflows/verify-pr.yml
vendored
9
.github/workflows/verify-pr.yml
vendored
@@ -60,15 +60,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Verify mirror.txt in allows.txt
|
|
||||||
run: |
|
|
||||||
cat mirror.txt >>allows.txt
|
|
||||||
./hack/fmt-image-match.sh allows.txt
|
|
||||||
git --no-pager diff --exit-code || {
|
|
||||||
gh pr comment "${{ github.event.pull_request.number }}" --body '部分 mirror.txt 镜像未加到 allows.txt, 请运行 `cat mirror.txt >>allows.txt; ./hack/fmt-image-match.sh allows.txt`'
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
- name: Verify Image Exists
|
- name: Verify Image Exists
|
||||||
run: |
|
run: |
|
||||||
./hack/verify-image.sh mirror.txt https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.patch || {
|
./hack/verify-image.sh mirror.txt https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.patch || {
|
||||||
|
Reference in New Issue
Block a user