Merge pull request #170 from tj-actions/upgrade-to-v6

Upgraded to v6
This commit is contained in:
Tonye Jack 2022-08-27 09:46:10 -06:00 committed by GitHub
commit 8de3582899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 5 deletions

View File

@ -1,5 +1,19 @@
# Changelog # Changelog
## [v6](https://github.com/tj-actions/branch-names/tree/v6) (2022-08-27)
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v5.6...v6)
**Implemented enhancements:**
- \[Feature\] determine branch-name when tag is pushed/triggers workflow [\#158](https://github.com/tj-actions/branch-names/issues/158)
**Merged pull requests:**
- Updated README.md [\#169](https://github.com/tj-actions/branch-names/pull/169) ([jackton1](https://github.com/jackton1))
- feat: add support for setting the base\_ref branch of a tag [\#168](https://github.com/tj-actions/branch-names/pull/168) ([jackton1](https://github.com/jackton1))
- Upgraded to v5.6 [\#167](https://github.com/tj-actions/branch-names/pull/167) ([jackton1](https://github.com/jackton1))
## [v5.6](https://github.com/tj-actions/branch-names/tree/v5.6) (2022-08-27) ## [v5.6](https://github.com/tj-actions/branch-names/tree/v5.6) (2022-08-27)
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v5.5...v5.6) [Full Changelog](https://github.com/tj-actions/branch-names/compare/v5.5...v5.6)

View File

@ -38,7 +38,7 @@ on:
steps: steps:
- name: Get branch name - name: Get branch name
id: branch-name id: branch-name
uses: tj-actions/branch-names@v5.6 uses: tj-actions/branch-names@v6
- name: Running on the default branch. - name: Running on the default branch.
if: steps.branch-name.outputs.is_default == 'true' if: steps.branch-name.outputs.is_default == 'true'
@ -104,7 +104,7 @@ on:
steps: steps:
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v5.6 uses: tj-actions/branch-names@v6
- name: Current branch name - name: Current branch name
run: | run: |
@ -146,7 +146,7 @@ on:
steps: steps:
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v5.6 uses: tj-actions/branch-names@v6
- name: Current branch name - name: Current branch name
run: | run: |
@ -198,7 +198,7 @@ on:
steps: steps:
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v5.6 uses: tj-actions/branch-names@v6
- name: Running on a tag branch. - name: Running on a tag branch.
if: steps.branch-name.outputs.is_tag == 'true' if: steps.branch-name.outputs.is_tag == 'true'
@ -227,7 +227,7 @@ on:
steps: steps:
- name: Get branch names. - name: Get branch names.
id: branch-names id: branch-names
uses: tj-actions/branch-names@v5.6 uses: tj-actions/branch-names@v6
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ steps.branch-names.outputs.head_ref_branch }} ref: ${{ steps.branch-names.outputs.head_ref_branch }}