Skip to content

Commit

Permalink
ignore grep errors
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Gielniewski <[email protected]>
  • Loading branch information
adigie committed Feb 13, 2025
1 parent f0f33a7 commit 080b0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
if [[ -n "$PR_DESCRIPTION" ]]; then
echo 2
echo $PR_DESCRIPTION
NCS_PR_ID=$(echo $PR_DESCRIPTION | grep '^[^>]' | grep 'NCS PR' | sed 's/.*nrfconnect\/sdk-nrf//' | grep -oE '[0-9]+')
NCS_PR_ID=$(echo $PR_DESCRIPTION | grep '^[^>]' | { grep 'NCS PR' || true; } | sed 's/.*nrfconnect\/sdk-nrf//' | { grep -oE '[0-9]+' || true; })
echo 3
echo $NCS_PR_ID
if [ -n "$NCS_PR_ID" ]; then
Expand Down

0 comments on commit 080b0ee

Please sign in to comment.