@@ -1 +1,7 @@
echo $(git rev-parse --abbrev-ref HEAD)
#!/bin/bash
commit_subject=$(git log -1 --pretty=format:%s)
regex='Merge pull request #[0-9]+ from .+/(.+)$'
[[ $commit_subject =~ $regex ]]
branch_name=${BASH_REMATCH[1]}
echo $branch_name
The note is not visible to the blocked user.