Skip to content

Commit

Permalink
Update .github/workflows/rit.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas <39061310+lucasvuotto@users.noreply.github.com>
  • Loading branch information
fmacleal and lucasvuotto authored Sep 20, 2024
1 parent 9c97b9d commit eddbb9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
# On lines matching "`$_prefix:...`", replace the lines with the
# thing in ... and print the result.
_search_re='\,`'$_prefix:$ALLOWED_BRANCH_CHARACTERS'\{1,\}`'
_replace_re='s,.*`'$_prefix:'\('$ALLOWED_BRANCH_CHARACTERS'\{1,\}\)`.*,\1,p'
_search_re='\@`'$_prefix:$ALLOWED_BRANCH_CHARACTERS'\{1,\}`@'
_replace_re='s@.*`'$_prefix:'\('$ALLOWED_BRANCH_CHARACTERS'\{1,\}\)`.*@\1@p'
_branch=$(sed -n "$_search_re $_replace_re" "$PR_DESCRIPTION")
echo "$_branch"
}
Expand Down

0 comments on commit eddbb9f

Please sign in to comment.