• Caroline Chen's avatar
    Update script for getting PR merger and labels (#2030) · 9392c9e0
    Caroline Chen authored
    Summary:
    The previous way of detecting the merger and labels given a commit hash no longer works with ShipIt, as PRs are closed and not merged and are not associated with a commit hash. To work around this, update the script to get the merger (pulled by: ) and PR number from the commit hash message, and then collect labels from the corresponding PR.
    
    Pull Request resolved: https://github.com/pytorch/audio/pull/2030
    
    Reviewed By: mthrok
    
    Differential Revision: D32634870
    
    Pulled By: carolineechen
    
    fbshipit-source-id: a8fcfc5912871d3cca056de43ab25b5d0acb2226
    9392c9e0
process_commit.py 2.2 KB