diff --git a/.github/workflows/build-tutorials.yml b/.github/workflows/build-tutorials.yml index 9391f1857ae..e287b16a44a 100644 --- a/.github/workflows/build-tutorials.yml +++ b/.github/workflows/build-tutorials.yml @@ -115,7 +115,7 @@ jobs: name: pytorch_tutorial_build_manager needs: worker runs-on: [self-hosted, linux.2xlarge] - environment: pytorchbot-env + environment: ${{ github.ref == 'refs/heads/main' && 'pytorchbot-env' || '' }} env: DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-bionic-cuda12.1-cudnn8-py3-gcc9" CUDA_VERSION: "9" diff --git a/.jenkins/get_files_to_run.py b/.jenkins/get_files_to_run.py index 6ea5dea37b4..e118d0a2b41 100644 --- a/.jenkins/get_files_to_run.py +++ b/.jenkins/get_files_to_run.py @@ -103,5 +103,6 @@ def main() -> None: print(" ".join(stripped_file_names)) +# dummy change if __name__ == "__main__": main()