pytorch
b55d0d2a - Fix trymerge changed files count (#95720)

Commit
1 year ago
Fix trymerge changed files count (#95720) The value from the PR info includes only unique files != The number of files changed (both are technically correct, depending on how you view it) I'm trying to merge this PR https://github.com/pytorch/pytorch/pull/95233 which makes `.github/ci_commit_pins/triton.txt` a softlink. So the PR includes 2 changes to that file 1) to delete the file and 2) to add it as a symlink. ``` [ ".ci/docker/build.sh", ".ci/docker/ci_commit_pins/triton.txt", ".ci/docker/common/common_utils.sh", ".ci/docker/common/install_triton.sh", ".ci/docker/requirements-ci.txt", ".ci/docker/ubuntu-cuda/Dockerfile", ".ci/docker/ubuntu/Dockerfile", ".github/ci_commit_pins/triton.txt", <-- ".github/ci_commit_pins/triton.txt", <-- ".github/workflows/build-triton-wheel.yml" ] ``` Trymerge doesn't like that and rejects the merge due to `Changed file count mismatch` https://github.com/pytorch/pytorch/actions/runs/4295438799/jobs/7485853815 . This is because the PRInfo GraphQL result from GitHub only counts 9 of them https://paste.sh/zVsOnWoT#p_3RKX_VMjj-e71vwsTeA01W (search for `changedFiles`). It means that the name are dedup, so that only unique file names are counted. Pull Request resolved: https://github.com/pytorch/pytorch/pull/95720 Approved by: https://github.com/kit1980, https://github.com/malfet, https://github.com/ZainRizvi
Author
Committer
Parents
Loading