mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 20:13:51 +08:00
Update test.yml
This commit is contained in:
parent
47910e4833
commit
9a0648bde3
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
||||
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 "Is Tag: ${{ steps.branch-name.outputs.is_tag }}"
|
||||
echo "Current tag: ${{ steps.branch-name.outputs.tag }}"
|
||||
- name: Test is_default output for pull request
|
||||
if: github.event_name == 'pull_request' && steps.branch-name.outputs.is_tag == 'false' && steps.branch-name.outputs.is_default != 'false'
|
||||
|
Loading…
Reference in New Issue
Block a user