Add privileged list (#19642)

This commit is contained in:
Shiming Zhang
2024-07-09 17:41:12 +08:00
committed by GitHub
parent ec1f798191
commit 6bc78dfe36
2 changed files with 55 additions and 1 deletions

View File

@@ -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 || {