ENH: Add support for torch.distributed.get_rank on detecting rank 0 in hi-ml-azure #3684
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Check PR Title' | |
on: | |
pull_request: | |
types: [edited, opened, synchronize, reopened] | |
jobs: | |
title-check: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} | |
steps: | |
- uses: naveenk1223/action-pr-title@master | |
with: | |
regex: '^[A-Z]+\:\s[A-Z].+' # Regex the title should match. | |
allowed_prefixes: 'ENH,BUG,DOC,DEL,TEST,FIX,MNT,STY,PERF' # title should start with the given prefix | |
prefix_case_sensitive: true # title prefixes are case ensitive | |
min_length: 10 # Min length of the title | |
max_length: 72 # Max length of the title |