Skip to content

Commit

Permalink
Fix bad variable reference
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 9ba5d34 commit 2a8631d
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 @@ -44,7 +44,7 @@ runs:
for user in $approvers; do
# Match with strings padding the username on both sides to avoid substring matches
# e.g. maintainer named 'foo', someone creates a fake account named 'fake-foo' and approves
if [[ maintainers_padded == *" $user "* ]]; then
if [[ $maintainers_padded == *" $user "* ]]; then
echo "Approval by maintainer: $user"
maintainer_approvals="$maintainer_approvals $user"
((approvals_count++))
Expand Down

0 comments on commit 2a8631d

Please sign in to comment.