From 774faa92c7fe3f32781ea58cba7b42f59a437754 Mon Sep 17 00:00:00 2001 From: Angad <66992519+ThirdEyeSqueegee@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:41:31 -0700 Subject: [PATCH] chore: tweak vcpkg baseline workflow --- .github/update_vcpkg_baselines.py | 11 ----------- .github/workflows/update_vcpkg_baselines.yml | 2 -- 2 files changed, 13 deletions(-) diff --git a/.github/update_vcpkg_baselines.py b/.github/update_vcpkg_baselines.py index 59c1b2fc..22dd5288 100644 --- a/.github/update_vcpkg_baselines.py +++ b/.github/update_vcpkg_baselines.py @@ -1,5 +1,4 @@ from json import dumps, load -from re import sub from subprocess import run vcpkg_repo = "https://github.com/microsoft/vcpkg" @@ -32,13 +31,3 @@ with open("./vcpkg.json", "w", newline="\r\n") as f: f.write(vcpkg_json_str) - -with open("./.github/workflows/main_ci.yml") as f: - main_ci_yml = f.read() - -main_ci_yml = sub( - r"(VCPKG_COMMIT_ID: ).*", f"VCPKG_COMMIT_ID: {vcpkg_ref}", main_ci_yml -) - -with open("./.github/workflows/main_ci.yml", "w") as f: - f.write(main_ci_yml) diff --git a/.github/workflows/update_vcpkg_baselines.yml b/.github/workflows/update_vcpkg_baselines.yml index aa12e583..91ddef40 100644 --- a/.github/workflows/update_vcpkg_baselines.yml +++ b/.github/workflows/update_vcpkg_baselines.yml @@ -20,8 +20,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - token: ${{ secrets.EDIT_WORKFLOW_TOKEN }} - name: Setup Python uses: actions/setup-python@v5