Update test.yml

This commit is contained in:
Tonye Jack 2021-04-24 20:14:12 -04:00 committed by GitHub
parent ae7cf1163a
commit 91ac570b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,13 +21,13 @@ jobs:
id: branch-name
uses: ./
- name: Show output
if: "!startsWith(github.ref, 'refs/tags/')"
run: |
echo "Current Branch: ${{ steps.branch-name.outputs.current_branch }}"
echo "Base Ref: ${{ steps.branch-name.outputs.base_ref_branch }}"
echo "Head Ref: ${{ steps.branch-name.outputs.head_ref_branch }}"
echo "Ref: ${{ steps.branch-name.outputs.ref_branch }}"
echo "Is Default: ${{ steps.branch-name.outputs.is_default }}"
echo "Current tag: ${{ steps.branch-name.outputs.tag }}"
- name: Check is_default for pull request
if: github.event_name == 'pull_request' && !startsWith(github.ref, 'refs/tags/') && steps.branch-name.outputs.is_default != 'false'
run: |