Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-cr-approved.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
echo "Running on PR #$PR_NUMBER in Repository $REPO"

# -- 1. Extract the assigned Code Reviewer from the PR body
CODE_REVIEWER=$(echo "$PR_BODY" | grep -oP "Code Reviewer:\s?@\K([a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})") || true
CODE_REVIEWER=$(echo "$PR_BODY" | grep -oiP "Code Reviewer:\s?@\K([a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38})") || true
Comment thread
james-bruten-mo marked this conversation as resolved.
Outdated

if [[ -z "$CODE_REVIEWER" ]]; then
echo "::error::No 'Code Reviewer: @<username>' found in the PR body."
Expand Down
Loading