mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-22 14:21:37 +08:00
Clean up
This commit is contained in:
9
.github/workflows/verify-pr.yml
vendored
9
.github/workflows/verify-pr.yml
vendored
@@ -4,7 +4,6 @@ on:
|
||||
pull_request_target:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'domain.txt'
|
||||
- 'mirror.txt'
|
||||
- 'allows.txt'
|
||||
|
||||
@@ -28,14 +27,6 @@ jobs:
|
||||
git am -3 pr.patch &&
|
||||
rm -rf pr.patch
|
||||
|
||||
- name: Verify domain.txt
|
||||
run: |
|
||||
./hack/verify-fmt.sh domain.txt || {
|
||||
echo "Please run './hack/fmt.sh domain.txt'"
|
||||
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt.sh domain.txt` 对内容进行排序'
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Verify mirror.txt image
|
||||
run: |
|
||||
./hack/verify-fmt-image.sh mirror.txt || {
|
||||
|
Reference in New Issue
Block a user