Skip to content

Commit f44339b

Browse files
authored
chore: Update test.yml (#409)
* chore: Update test.yml * Update test.yml
1 parent d18e657 commit f44339b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,18 @@ jobs:
8686
run: |
8787
echo "Current tag unset: ${{ steps.branch-names.outputs.tag }}"
8888
exit 1
89+
- name: Run test strip_branch_prefix
90+
id: branch-names-strip_branch_prefix
91+
uses: ./
92+
with:
93+
strip_branch_prefix: 'chore/'
94+
- name: Show output
95+
run: |
96+
echo "Default Branch: ${{ steps.branch-names-strip_branch_prefix.outputs.default_branch }}"
97+
echo "Current Branch: ${{ steps.branch-names-strip_branch_prefix.outputs.current_branch }}"
98+
echo "Base Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.base_ref_branch }}"
99+
echo "Head Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.head_ref_branch }}"
100+
echo "Ref: ${{ steps.branch-names-strip_branch_prefix.outputs.ref_branch }}"
101+
echo "Is Default: ${{ steps.branch-names-strip_branch_prefix.outputs.is_default }}"
102+
echo "Is Tag: ${{ steps.branch-names-strip_branch_prefix.outputs.is_tag }}"
103+
echo "Current tag: ${{ steps.branch-names-strip_branch_prefix.outputs.tag }}"

0 commit comments

Comments
 (0)