Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: fix regex allowing multiple fixes #194

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
steps:
- uses: deepakputhraya/action-pr-title@master
with:
regex: '(Fixes |Refs )\d+(,\d+)*: .+' # Regex the title should match.
allowed_prefixes: 'Refs ,Fixes ' # title should start with the given prefix
regex: '^Build|^((Fixes |Refs )\d+(,\d+)*): .+'
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
Expand Down
Loading