Revert "Make GHA workflow to retrieve latest promote-able SHA from master (#79548)"
This reverts commit e479daed78b80179466c7233203c98a3fc0fc117.
Reverted https://github.com/pytorch/pytorch/pull/79548 on behalf of https://github.com/malfet due to Broke on trunk, see https://hud.pytorch.org/pytorch/pytorch/commit/e479daed78b80179466c7233203c98a3fc0fc117
diff --git a/.github/workflows/update-viablestrict.yml b/.github/workflows/update-viablestrict.yml
deleted file mode 100644
index eb41fae..0000000
--- a/.github/workflows/update-viablestrict.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Update viable/strict
-
-on:
- schedule:
- - cron: 17,47 * * * *
- workflow_dispatch:
-
-concurrency:
- group: ${{ github.workflow }}
- cancel-in-progress: true
-
-jobs:
- do_update_viablestrict:
- runs-on: ubuntu-20.04
- steps:
- - name: Setup Python
- uses: actions/setup-python@v2
- with:
- python-version: 3.8
- architecture: x64
-
- - name: Checkout PyTorch
- uses: pytorch/pytorch/.github/actions/checkout-pytorch@master
-
- - name: Install Python Packages
- run: |
- pip3 install rockset==0.8.10
- pip3 install boto3==1.19.12
- pip3 install six==1.16.0
-
- - name: Get latest viable commit
- env:
- ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }}
- run: |
- output=$(python3 -m .github/scripts/print_latest_commits.py)
- echo "::set-output name=latest_viable_sha::$output"
- id: get-latest-commit
-
- - name: Push SHA to viable/strict branch
- env:
- GITHUB_TOKEN: ${{ secrets.MERGEBOT_TOKEN }}
- run: |
- git config --global user.email "pytorchmergebot@users.noreply.github.com"
- git config --global user.name "PyTorch MergeBot"
- echo "::debug::Set the latest sha variable to be ${{ steps.get-latest-commit.outputs.latest_viable_sha }}"