Skip to content

Commit c554310

Browse files
committed
Fix error.
Fixes #62811. git-svn-id: https://develop.svn.wordpress.org/trunk@59634 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 0de0785 commit c554310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/close-pulls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
${{ github.event.head_commit.message }}
3131
EOF
3232
)
33-
SVN_REVISION=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=git-svn-id: https://develop.svn.wordpress.org/[^@]+@)\d+(?= )')
33+
SVN_REVISION=$(echo "$COMMIT_MESSAGE" | sed -n 's/.*git-svn-id: https:\/\/develop.svn.wordpress.org\/[^@]*@\([0-9]*\) .*/\1/p')
3434
echo "svn_revision_number=${SVN_REVISION}" >> $GITHUB_OUTPUT
3535
3636
- name: Print fixes list for debugging

0 commit comments

Comments
 (0)