We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70bb56f commit 1562d38Copy full SHA for 1562d38
.github/workflows/release.yml
@@ -19,7 +19,7 @@ jobs:
19
fi
20
21
# Extract GitHub usernames from CODEOWNERS file (assumes usernames, not emails or teams)
22
- USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | tr '\n' ' ')
+ USERS=$(grep '@' $CODEOWNERS_PATH | sed -E 's/.*@([^ ]+).*/\1/' | sed 's/://g' | tr '\n' ' ')
23
24
# Check if the actor is in the list of users
25
if [[ ! " $USERS " =~ " ${{ github.actor }} " ]]; then
0 commit comments