mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-11 03:38:28 +08:00
Add allows list (#9888)
This commit is contained in:
8
.github/workflows/verify-pr.yml
vendored
8
.github/workflows/verify-pr.yml
vendored
@@ -50,6 +50,14 @@ jobs:
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Verify allows.txt sort
|
||||
run: |
|
||||
./hack/verify-fmt.sh allows.txt || {
|
||||
echo "Please run './hack/fmt.sh allows.txt'"
|
||||
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt.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 || {
|
||||
|
Reference in New Issue
Block a user