Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] Runner determinator: Expect usernames to be prefixed with '@' (p…
…ytorch#129246) Expect the username in the runner rollover issue (pytorch/test-infra#5132) to be prefixed with a "@". This will make typos way less likely since github's autocomplete/autoformating will help out For now, I've updated the issue to have usernames both with and without the @ while this change rolls out Testing: Ran the script locally on both this issue and a new test issue and verified they both had the expected output: ``` (venv) (base) ➜ ~/pytorch git:(zainr/improve-get-workflow-type) python .github/scripts/get_workflow_type.py --github-token github_pat_*** --github-issue 5132 --github-user ZainRizvi --github-branch "zainr/stuff" {"label_type": "lf.", "message": "LF Workflows are enabled for ZainRizvi. Using LF runners."} ``` Pull Request resolved: pytorch#129246 Approved by: https://github.com/zxiiro, https://github.com/huydhn
- Loading branch information