File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ COMMITTER_NAME="$(git log -1 "$GITHUB_SHA" --pretty="%cN")"
34
34
COMMIT_SUBJECT=" $( git log -1 " $GITHUB_SHA " --pretty=" %s" ) "
35
35
COMMIT_MESSAGE=" $( git log -1 " $GITHUB_SHA " --pretty=" %b" ) " | sed -E ' :a;N;$!ba;s/\r{0,1}\n/\\n/g'
36
36
COMMIT_URL=" https://github.com/$GITHUB_REPOSITORY /commit/$GITHUB_SHA "
37
- BRANCH_URL=" https://github.com/$GITHUB_REPOSITORY /tree/$BRANCH_NAME "
38
37
39
38
# If, for example, $GITHUB_REF = refs/heads/feature/example-branch
40
39
# Then this sed command returns: feature/example-branch
41
40
BRANCH_NAME=" $( echo $GITHUB_REF | sed ' s/^.*\/.*\///g' ) "
41
+ BRANCH_URL=" https://github.com/$GITHUB_REPOSITORY /tree/$BRANCH_NAME "
42
42
43
43
if [ " $AUTHOR_NAME " == " $COMMITTER_NAME " ]; then
44
44
CREDITS=" $AUTHOR_NAME authored & committed"
You can’t perform that action at this time.
0 commit comments