From ef72e4942d6b21182428b2755b4289673802316a Mon Sep 17 00:00:00 2001 From: Jan Galek Date: Wed, 1 Jan 2025 18:24:09 +0100 Subject: [PATCH] [Update] Support fixups as optional --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a788d14..daf5767 100644 --- a/action.yml +++ b/action.yml @@ -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