actions: check that the vcpkg-tools.json only contain valid sha's (#46484)

This commit is contained in:
autoantwort 2025-07-21 00:29:56 +02:00 committed by GitHub
parent 23a3fb9f5a
commit bafef5f2bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

20
.github/workflows/check_issues copy.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Check vcpkg Tools SHA
on:
pull_request:
paths:
- "scripts/vcpkg-tools.json"
jobs:
check-tools-sha:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Bootstrap vcpkg
run: ./bootstrap-vcpkg.sh
- name: Run vcpkg x-check-tools-sha
run: vcpkg z-check-tools-sha scripts/vcpkg-tools.json || echo "Run 'vcpkg z-check-tools-sha scripts/vcpkg-tools.json --fix' to update the SHA values"