Update README.md

This commit is contained in:
Tonye Jack 2021-02-07 20:05:59 -05:00 committed by GitHub
parent b7e207141f
commit 7b704c18dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ Get branch information without the `/ref/*` prefix
if: github.event_name == 'pull_request'
run: |
echo "${{ steps.branch-name.outputs.current_branch }}"
# Outputs: "feature/test" current PR branch.
# Outputs: "feature/test" current PR branch or "main" the default branch that triggered the push event.
- name: Current branch name
if: github.event_name == 'push'