Add allows list (#9888)

This commit is contained in:
Shiming Zhang
2024-06-18 14:35:05 +08:00
committed by GitHub
parent ceaf07e3de
commit 70322e9ceb
2 changed files with 144 additions and 0 deletions

View File

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