pytorch/.github
Huy Do 6f8751dcc9 Fix timeout check workflow lint job (#142476)
Fixes https://github.com/pytorch/pytorch/issues/142485

The workflow check lint job timed out in trunk, i.e. https://github.com/pytorch/pytorch/actions/runs/12261226178/job/34207762939, and here was what happened:

1. https://github.com/pytorch/pytorch/pull/142294 landed yesterday to build ROCm on 3.13, but the PR had a landrace with https://github.com/pytorch/pytorch/pull/142282 in the generated workflow file
2. The trunk lint check caught that in https://github.com/pytorch/pytorch/blob/main/.github/scripts/report_git_status.sh#L2
3. However, the script also attempted to print the difference with `git diff .github/workflows`.  This command was the one that stuck because `git diff` uses page by default and requires a prompt to display the next page ¯\_(ツ)_/¯

It took so long to debug this because a timeout Nova GHA doesn't print any progress.  I'll create an issue for this.

Bonus:

I also fix the broken print from test tool lint job that confuses GitHub https://github.com/pytorch/pytorch/actions/runs/12261226178 with an annotation failure `Credentials could not be loaded, please check your action inputs`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/142476
Approved by: https://github.com/wdvr
2024-12-10 20:47:22 +00:00
..
actions Migrate smoke tests to pytorch/pytorch (#142482) 2024-12-10 20:43:36 +00:00
ci_commit_pins [xla] Update pin to current xla/master (#142065) 2024-12-04 19:44:50 +00:00
ISSUE_TEMPLATE [ez] Make merge blocking sevs be based on label instead of string (#140636) 2024-11-14 19:02:27 +00:00
requirements Add pytest support for unittest.subTests to CI env (#142238) 2024-12-09 21:48:20 +00:00
scripts Fix timeout check workflow lint job (#142476) 2024-12-10 20:47:22 +00:00
templates [EZ] Do not checkout builder for Linux builds (#142282) 2024-12-09 20:52:13 +00:00
workflows Fix timeout check workflow lint job (#142476) 2024-12-10 20:47:22 +00:00
actionlint.yaml
auto_request_review.yml
label_to_label.yml
labeler.yml Add ciflow/inductor automatically in more cases (#140824) 2024-11-15 19:54:20 +00:00
merge_rules.yaml Add DCP doc to DCP merge-rules (#139938) 2024-11-07 02:19:49 +00:00
nitpicks.yml
PULL_REQUEST_TEMPLATE.md
pytorch-circleci-labels.yml
pytorch-probot.yml Update inductor jobs to use CUDA 12.4 (#142177) 2024-12-09 16:18:38 +00:00
regenerate.sh
requirements-gha-cache.txt Remove most rockset references (#139922) 2024-11-12 21:17:43 +00:00