mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:33:52 +08:00
commit
ce11ce0f73
19
HISTORY.md
19
HISTORY.md
@ -1,5 +1,24 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# [8.0.0](https://github.com/tj-actions/branch-names/compare/v7.0.7...v8.0.0) - (2023-12-05)
|
||||||
|
|
||||||
|
## <!-- 17 -->➖ Remove
|
||||||
|
|
||||||
|
- Deleted .github/workflows/auto-approve.yml ([d412a8b](https://github.com/tj-actions/branch-names/commit/d412a8b9be018a303e4c446b1e1e77e26dc79603)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 30 -->📝 Other
|
||||||
|
|
||||||
|
- PR [#273](https://github.com/tj-actions/branch-names/pull/273): to v7.0.7 ([aebb456](https://github.com/tj-actions/branch-names/commit/aebb456ae8608f6dc5a66f8ee1af451d4cc6a121)) - (repo-ranger[bot])
|
||||||
|
|
||||||
|
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- Create SECURITY.md ([#274](https://github.com/tj-actions/branch-names/issues/274)) ([6b29454](https://github.com/tj-actions/branch-names/commit/6b29454859d080290fc5e9c05ee4e82b9156404b)) - (Tonye Jack)
|
||||||
|
|
||||||
|
## <!-- 9 -->⬆️ Upgrades
|
||||||
|
|
||||||
|
- Upgraded from v7.0.6 -> v7.0.7
|
||||||
|
([f78faab](https://github.com/tj-actions/branch-names/commit/f78faabb0379ad0477ee82bf26324d6c8e6e6a05)) - (jackton1)
|
||||||
|
|
||||||
# [7.0.7](https://github.com/tj-actions/branch-names/compare/v7.0.6...v7.0.7) - (2023-12-03)
|
# [7.0.7](https://github.com/tj-actions/branch-names/compare/v7.0.6...v7.0.7) - (2023-12-03)
|
||||||
|
|
||||||
## <!-- 1 -->🐛 Bug Fixes
|
## <!-- 1 -->🐛 Bug Fixes
|
||||||
|
12
README.md
12
README.md
@ -49,7 +49,7 @@ Get a branch or tag name without the `/ref/*` prefix.
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names.
|
- name: Get branch names.
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
|
|
||||||
- name: Running on the default branch.
|
- name: Running on the default branch.
|
||||||
if: steps.branch-names.outputs.is_default == 'true'
|
if: steps.branch-names.outputs.is_default == 'true'
|
||||||
@ -90,7 +90,7 @@ Support this project with a :star:
|
|||||||
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: tj-actions/branch-names@v7
|
- uses: tj-actions/branch-names@v8
|
||||||
id: branch-names
|
id: branch-names
|
||||||
with:
|
with:
|
||||||
# The prefix that should be stripped from the tag
|
# The prefix that should be stripped from the tag
|
||||||
@ -134,7 +134,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
|
|
||||||
- name: Current branch names
|
- name: Current branch names
|
||||||
run: |
|
run: |
|
||||||
@ -176,7 +176,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
|
|
||||||
- name: Current branch names
|
- name: Current branch names
|
||||||
run: |
|
run: |
|
||||||
@ -228,7 +228,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names
|
- name: Get branch names
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
with:
|
with:
|
||||||
strip_tag_prefix: v # Optionally strip the leading `v` from the tag.
|
strip_tag_prefix: v # Optionally strip the leading `v` from the tag.
|
||||||
|
|
||||||
@ -263,7 +263,7 @@ on:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get branch names.
|
- name: Get branch names.
|
||||||
id: branch-names
|
id: branch-names
|
||||||
uses: tj-actions/branch-names@v7
|
uses: tj-actions/branch-names@v8
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ steps.branch-names.outputs.head_ref_branch }}
|
ref: ${{ steps.branch-names.outputs.head_ref_branch }}
|
||||||
|
Loading…
Reference in New Issue
Block a user