Skip to content

Commit 1562d38

Browse files
authored
ci: fix checking codeowner (#259)
Signed-off-by: Lukas.J.Han <lukas.j.han@gmail.com>
1 parent 70bb56f commit 1562d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fi
2020
2121
# Extract GitHub usernames from CODEOWNERS file (assumes usernames, not emails or teams)
22-
USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | tr '\n' ' ')
22+
USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | sed 's/://g' | tr '\n' ' ')
2323
2424
# Check if the actor is in the list of users
2525
if [[ ! " $USERS " =~ " ${{ github.actor }} " ]]; then

0 commit comments

Comments
 (0)