pytorch/.github/workflows
zengk95 2acd2317b8 [mergebot] Create land time check options (#77943)
This adds land time checks before we try to merge. What this does is:
1. Merge changes into latest master, check out a new branch, push, and have a workflow that runs jobs from trunk (and maybe pull)
2. Wait for all checks in the landtime workflow to finish by using the GH API (graphql doesn't have this method from what I can see)
3. push the changes in

Test Plan:
Tested this in canary with a new workflow that passes and lint, tested what happens if i break the new workflow by exiting with 1, the normal flow, and some other flows.

Tested it breaking when land checks fail:
https://github.com/pytorch/pytorch-canary/pull/113#issuecomment-1165941716

Test that it works:
https://github.com/pytorch/pytorch-canary/pull/114#issuecomment-1165922791

Test that normal validations like PR is broken:
https://github.com/pytorch/pytorch-canary/pull/113#issuecomment-1165930037

Test that normal merge works:
https://github.com/pytorch/pytorch-canary/pull/113#issuecomment-1166751288

Test that force merge works:
https://github.com/pytorch/pytorch-canary/pull/113#issuecomment-1167507356
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77943
Approved by: https://github.com/janeyx99
2022-06-27 22:28:12 +00:00
..
_android-build-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_android-full-build-test.yml [ci] don't explicitly set CUSTOM_TEST_ARTIFACT_BUILD_DIR 2022-06-13 16:09:50 +00:00
_bazel-build-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_buck-build-test.yml [4] move pt_operator_library to shared BUCK file (#80170) 2022-06-24 21:51:20 +00:00
_docs.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
_ios-build-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_linux-build.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_linux-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_mac-build.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_mac-test-arm64.yml [ci] remove IN_CI env var 2022-06-11 17:16:30 +00:00
_mac-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_rocm-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_run_android_tests.yml move run_android_tests.yaml to a reusable workflow (#80227) 2022-06-24 21:06:43 +00:00
_update-commit-hash.yml automate hash pinning (#79470) 2022-06-17 18:22:15 +00:00
_win-build.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
_win-test.yml [ci] delete JOB_BASE_NAME (#80046) 2022-06-23 21:06:48 +00:00
create_release.yml ci: Set create_release.yml to run on nightly 2022-05-12 20:13:13 +00:00
docker-builds.yml Migrate pull off linux-xenial-py3_7-clang7-onnx (#79489) 2022-06-22 19:17:38 +00:00
generated-linux-binary-conda-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-libtorch-cxx11-abi-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-libtorch-cxx11-abi-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-libtorch-pre-cxx11-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-libtorch-pre-cxx11-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-manywheel-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-linux-binary-manywheel-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-arm64-binary-conda-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-arm64-binary-wheel-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-binary-conda-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-binary-libtorch-cxx11-abi-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-binary-libtorch-pre-cxx11-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-macos-binary-wheel-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-conda-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-libtorch-debug-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-libtorch-debug-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-libtorch-release-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-libtorch-release-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-wheel-master.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
generated-windows-binary-wheel-nightly.yml [ci] remove PR_LABELS env var 2022-06-14 16:16:37 +00:00
lint.yml [mergebot] Create land time check options (#77943) 2022-06-27 22:28:12 +00:00
nightly.yml Fix release doc builds (#79865) 2022-06-20 16:21:52 +00:00
periodic.yml [ci] skip slow gradcheck jobs (#80311) 2022-06-27 15:29:03 +00:00
pr-labels.yml
pull.yml [mergebot] Create land time check options (#77943) 2022-06-27 22:28:12 +00:00
push_nightly_docker_ghcr.yml
revert.yml ci: Have revert use hosted runners 2022-05-19 21:00:27 +00:00
run_torchbench.yml Add userbenchmark support to TorchBench CI (#78794) 2022-06-03 21:07:36 +00:00
stale.yml [lint] improve retries in stale job 2022-04-15 18:02:14 +00:00
trunk.yml [mergebot] Create land time check options (#77943) 2022-06-27 22:28:12 +00:00
trymerge.yml [mergebot] Create land time check options (#77943) 2022-06-27 22:28:12 +00:00
tryrebase.yml rebase via comment - rebase to any branch (#78772) 2022-06-03 17:13:11 +00:00
update-commit-hashes.yml automate hash pinning (#79470) 2022-06-17 18:22:15 +00:00
update-viablestrict.yml finalized GHA for promoting to viable/strict (#79649) 2022-06-20 12:53:39 +00:00
update_pytorch_labels.yml
update_s3_htmls.yml ci: Add lts for s3 index updating workflow 2022-04-11 22:24:43 +00:00
upload-test-stats.yml [ci] only upload summarized test stats for PRs (#80295) 2022-06-27 18:40:39 +00:00