From c1583a0de09e7a99050074f8aa2f068c5db8b45c Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 7 Jan 2022 17:00:18 -0800 Subject: [PATCH] Remove prebuild workflow (#18028) --- .../workflows/create-codespaces-prebuild.yml | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/create-codespaces-prebuild.yml diff --git a/.github/workflows/create-codespaces-prebuild.yml b/.github/workflows/create-codespaces-prebuild.yml deleted file mode 100644 index 38f9630ddb..0000000000 --- a/.github/workflows/create-codespaces-prebuild.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Create Prebuild -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * *' -jobs: - createPrebuild: - runs-on: ubuntu-latest - steps: - - id: create-prebuild-production - run: | - $splat = @{ - ErrorAction = 'Stop' - Uri = 'https://api.github.com/vscs_internal/user/vscode-prebuilds-bot/codespaces/prebuild' - Method = 'POST' - Headers = @{ - 'Content-Type' = 'application/json; charset=utf-8' - 'Authorization' = 'token ${{ secrets.CODESPACES_PREBUILD_PAT }}' - } - Body = @{ - ref = 'main' - repository_id = 41881900 - location = 'WestUs2' - } | ConvertTo-Json - } - - Invoke-RestMethod @splat - shell: pwsh