Skip to content

Commit

Permalink
[Update] Support fixups as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Jan 1, 2025
1 parent 629ca93 commit ef72e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ runs:
PREFIXES=$(echo "${{ inputs.prefixes }}" | tr ',' '|')
PREFIXES_LIST=$(echo "${{ inputs.prefixes }}" | tr '|' ', ')
REGEX="^\(fixup! )[($PREFIXES)\] .{${{ inputs.minLengthText }},}$|^Merge .* into .*$"
REGEX="^\(fixup! )?[($PREFIXES)\] .{${{ inputs.minLengthText }},}$|^Merge .* into .*$"
echo "$COMMITS" | while read -r COMMIT; do
if [[ ! $COMMIT =~ $REGEX ]]; then
Expand Down

0 comments on commit ef72e49

Please sign in to comment.