From 71ea4d1bd60657bbd5c2599cac44a0f0c53bb68d Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 11 Dec 2020 16:37:11 -0500 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf8b1b5..ea6a02d 100644 --- a/README.md +++ b/README.md @@ -12,17 +12,20 @@ Get branch information without the `/ref/*` prefix id: branch-names - name: Get Ref brach name run: | - echo "${{ steps.branch-name.outputs.ref_branch }}" # Outputs: "main" for non PR branches | "1/merge" for a PR branch + echo "${{ steps.branch-name.outputs.ref_branch }}" + # Outputs: "main" for non PR branches | "1/merge" for a PR branch - name: Get Head Ref branch name if: github.event_name == 'pull_request' run: | - echo "${{ steps.branch-name.outputs.head_ref_branch }}" # Outputs: "feature/test" current PR branch. + echo "${{ steps.branch-name.outputs.head_ref_branch }}" + # Outputs: "feature/test" current PR branch. - name: Get Base Ref branch name if: github.event_name == 'pull_request' run: | - echo "${{ steps.branch-name.outputs.base_ref_branch }}" # Outputs: "main" for main <- PR branch. + echo "${{ steps.branch-name.outputs.base_ref_branch }}" + # Outputs: "main" for main <- PR branch. ```