Update README.md

This commit is contained in:
Tonye Jack 2020-12-11 16:36:45 -05:00 committed by GitHub
parent 51386c47f1
commit 6d21079679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ Get branch information without the `/ref/*` prefix
id: branch-names id: branch-names
- name: Get Ref brach name - name: Get Ref brach name
run: | run: |
echo "${{ steps.branch-name.outputs.ref_branch }}" # Outputs: "main" for a non PR branch | "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 - name: Get Head Ref branch name
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'