From 4c3a2c344bb75b447c5a7f13aa6370daf095e542 Mon Sep 17 00:00:00 2001 From: fmacleal <157636304+fmacleal@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:10:39 +0200 Subject: [PATCH] Update .github/workflows/rit.yml Co-authored-by: Lucas <39061310+lucasvuotto@users.noreply.github.com> --- .github/workflows/rit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rit.yml b/.github/workflows/rit.yml index 5577c73bd8..ea314d698b 100644 --- a/.github/workflows/rit.yml +++ b/.github/workflows/rit.yml @@ -49,7 +49,7 @@ jobs: # On lines matching "`$_prefix:...`", replace the lines with the # thing in ... and print the result. - _branch=$(sed -n "/\`$_prefix:$ALLOWED_BRANCH_CHARACTERS\{1,\}\`/ s/.*\`$_prefix:\($ALLOWED_BRANCH_CHARACTERS\{1,\}\)\`.*/\1/p" "$PR_DESCRIPTION") + _branch=$(sed -n "\\,\`$_prefix:$ALLOWED_BRANCH_CHARACTERS\{1,\}\`, s,.*\`$_prefix:\($ALLOWED_BRANCH_CHARACTERS\{1,\}\)\`.*,\1,p" "$PR_DESCRIPTION") echo "$_branch" }