From bafef5f2bf7be2e010349aed2bfa2e7a31ea60da Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Mon, 21 Jul 2025 00:29:56 +0200 Subject: [PATCH] actions: check that the vcpkg-tools.json only contain valid sha's (#46484) --- .github/workflows/check_issues copy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/check_issues copy.yml diff --git a/.github/workflows/check_issues copy.yml b/.github/workflows/check_issues copy.yml new file mode 100644 index 0000000000..e88f08b3b6 --- /dev/null +++ b/.github/workflows/check_issues copy.yml @@ -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"