Skip to content

Commit

Permalink
ci: fix checking codeowner (#259)
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas.J.Han <[email protected]>
  • Loading branch information
lukasjhan authored Nov 26, 2024
1 parent 70bb56f commit 1562d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fi
# Extract GitHub usernames from CODEOWNERS file (assumes usernames, not emails or teams)
USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | tr '\n' ' ')
USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | sed 's/://g' | tr '\n' ' ')
# Check if the actor is in the list of users
if [[ ! " $USERS " =~ " ${{ github.actor }} " ]]; then
Expand Down

0 comments on commit 1562d38

Please sign in to comment.