Fixes 5052: refactor jobs and temp/repo association #3727
Workflow file for this run
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: PR Validation | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
title-validate: | |
name: Title | |
runs-on: ubuntu-latest | |
steps: | |
- uses: deepakputhraya/action-pr-title@master | |
with: | |
regex: '^Build|^((Fixes |Refs )\d+(,\d+)*): .+' # Regex the title should match. | |
allowed_prefixes: 'Refs ,Fixes ,Build ' # title should start with the given prefix | |
disallowed_prefixes: '' # title should not start with the given prefix | |
prefix_case_sensitive: false # title prefix are case insensitive | |
min_length: 5 # Min length of the title | |
max_length: 60 # Max length of the title | |
github_token: ${{ github.token }} # Default: ${{ github.token }} |