From 7967ac06aafc5e922402f04d91bb82ad7b6d0ace Mon Sep 17 00:00:00 2001 From: Angad Date: Thu, 7 Sep 2023 22:23:48 -0700 Subject: [PATCH] refactor: move vcpkg helper to maintenance.yml --- .github/workflows/maintenance.yml | 8 ++++++++ .github/workflows/vcpkg_helper.yml | 17 ----------------- 2 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/vcpkg_helper.yml diff --git a/.github/workflows/maintenance.yml b/.github/workflows/maintenance.yml index 007f4b46..d9f5ce34 100644 --- a/.github/workflows/maintenance.yml +++ b/.github/workflows/maintenance.yml @@ -42,3 +42,11 @@ jobs: message: "ci: maintenance `${{ steps.versioning.outputs.VCPKG_VERSION }}`" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.VCPKG_HELPER_TOKEN }} + repository: Starfield-Reverse-Engineering/Starfield-RE-vcpkg + event-type: update-event + client-payload: '{"sha": "${{ github.sha }}"}' diff --git a/.github/workflows/vcpkg_helper.yml b/.github/workflows/vcpkg_helper.yml deleted file mode 100644 index 1707f400..00000000 --- a/.github/workflows/vcpkg_helper.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: vcpkg Registry Helper - -on: - push: - branches: main - -jobs: - helper: - runs-on: ubuntu-latest - steps: - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.VCPKG_HELPER_TOKEN }} - repository: Starfield-Reverse-Engineering/Starfield-RE-vcpkg - event-type: update-event - client-payload: '{"sha": "${{ github.sha }}"}'