Skip to content

Commit

Permalink
Fix sed parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Oct 17, 2023
1 parent eb05340 commit 41019db
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 @@ -39,7 +39,7 @@ runs:

- run: |
declare -i approvals_count=0
maintainers_padded=" $(echo ${{ inputs.maintainers }} | tr ',' ' ' | sed s/ \+/ /g) " # Padding before and after for substring safety check below
maintainers_padded=" $(echo ${{ inputs.maintainers }} | tr ',' ' ' | sed 's/ */ /g') " # Padding before and after for substring safety check below
maintainer_approvals=""
for user in $approvers; do
# Match with strings padding the username on both sides to avoid substring matches
Expand Down

0 comments on commit 41019db

Please sign in to comment.