From 988dc882406fb292e66a41602fcafdd826b35fed Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Wed, 12 Oct 2022 13:36:56 -0700 Subject: [PATCH] ci: Just use regular checkout (#86824) checkout-pytorch seems to have issues and is purpose made for our PR testing and appears to conflict with what we're trying to do for binary builds. For builds like https://github.com/pytorch/pytorch/actions/runs/3207520052/jobs/5242479607 there is a confusion over where the reference is pulled and I believe it is root caused by the checkout logic in checkout-pytorch. So with that in mind I suggest we just use the upstream checkout action for this job Signed-off-by: Eli Uriegas Pull Request resolved: https://github.com/pytorch/pytorch/pull/86824 Approved by: https://github.com/atalman --- .github/workflows/docker-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 6173fca4891c0..d61b1b2c1242b 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -6,6 +6,7 @@ on: paths: - Dockerfile - docker.Makefile + - .github/workflows/docker-release.yml push: branches: - nightly @@ -47,7 +48,10 @@ jobs: # [see note: pytorch repo ref] # deep clone (fetch-depth 0) required for git merge-base - name: Checkout PyTorch - uses: pytorch/pytorch/.github/actions/checkout-pytorch@master + uses: actions/checkout@v3 + with: + fetch-depth: 0 + submodules: 'recursive' - name: Setup Linux uses: ./.github/actions/setup-linux - name: Setup SSH (Click me for login details)