Update readme and CI

This commit is contained in:
Shiming Zhang
2025-02-25 18:08:05 +08:00
parent 6d65f41618
commit 844fadd7fe
8 changed files with 15 additions and 467 deletions

View File

@@ -27,22 +27,6 @@ jobs:
git am -3 pr.patch &&
rm -rf pr.patch
- name: Verify mirror.txt image
run: |
./hack/verify-fmt-image.sh mirror.txt || {
echo "Please run './hack/fmt-image.sh mirror.txt'"
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt-image.sh mirror.txt` 对内容进行格式化'
exit 1
}
- name: Verify mirror.txt sort
run: |
./hack/verify-fmt.sh mirror.txt || {
echo "Please run './hack/fmt.sh mirror.txt'"
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt.sh mirror.txt` 对内容进行排序'
exit 1
}
- name: Verify allows.txt sort
run: |
./hack/verify-image-match.sh allows.txt || {
@@ -50,10 +34,3 @@ jobs:
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt-image-match.sh allows.txt` 对内容进行排序'
exit 1
}
- name: Verify Image Exists
run: |
./hack/verify-image.sh mirror.txt https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.patch || {
gh pr comment "${{ github.event.pull_request.number }}" --body '有镜像不存在请检查后重新提交'
exit 1
}