mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-11 03:38:28 +08:00
Add privileged list (#19642)
This commit is contained in:
8
.github/workflows/verify-pr.yml
vendored
8
.github/workflows/verify-pr.yml
vendored
@@ -59,7 +59,13 @@ jobs:
|
||||
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt-image-match.sh allows.txt` 对内容进行排序'
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Verify privileged.txt sort
|
||||
run: |
|
||||
./hack/verify-image-match.sh privileged.txt || {
|
||||
echo "Please run './hack/fmt-image-match.sh privileged.txt'"
|
||||
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt-image-match.sh privileged.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