mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 17:03:51 +08:00
Update action.yml
This commit is contained in:
parent
5225f98969
commit
2cb015dbf6
14
action.yml
14
action.yml
@ -10,27 +10,27 @@ inputs:
|
|||||||
outputs:
|
outputs:
|
||||||
is_default:
|
is_default:
|
||||||
value: ${{ steps.default.outputs.is_default }}
|
value: ${{ steps.default.outputs.is_default }}
|
||||||
description: 'Returns "true" if the current branch is the default else "false".'
|
description: 'Returns `"true"` if the current branch is the default else `"false"`.'
|
||||||
is_tag:
|
is_tag:
|
||||||
value: ${{ steps.tag.outputs.is_tag }}
|
value: ${{ steps.tag.outputs.is_tag }}
|
||||||
description: 'Returns "true" if the current branch is a tag else "false".'
|
description: 'Returns `"true"` if the current branch is a tag else `"false"`.'
|
||||||
default_branch:
|
default_branch:
|
||||||
value: ${{ steps.default.outputs.default_branch }}
|
value: ${{ steps.default.outputs.default_branch }}
|
||||||
current_branch:
|
current_branch:
|
||||||
value: ${{ steps.current_branch.outputs.current_branch }}
|
value: ${{ steps.current_branch.outputs.current_branch }}
|
||||||
description: 'Returns the value of the current branch which is consistent regardless of event_type e.g main, feature/test, v0.0.1.'
|
description: 'Returns the value of the current branch which is consistent regardless of event_type e.g `main`, `feature/test`, `v0.0.1`.'
|
||||||
base_ref_branch:
|
base_ref_branch:
|
||||||
value: ${{ steps.branch.outputs.base_ref_branch }}
|
value: ${{ steps.branch.outputs.base_ref_branch }}
|
||||||
description: 'The target branch of a pull request e.g main'
|
description: 'The target branch of a pull request e.g `main`'
|
||||||
head_ref_branch:
|
head_ref_branch:
|
||||||
value: ${{ steps.branch.outputs.head_ref_branch }}
|
value: ${{ steps.branch.outputs.head_ref_branch }}
|
||||||
description: 'The source branch of a pull request e.g feature/test'
|
description: 'The source branch of a pull request e.g `feature/test`'
|
||||||
ref_branch:
|
ref_branch:
|
||||||
value: ${{ steps.branch.outputs.ref_branch }}
|
value: ${{ steps.branch.outputs.ref_branch }}
|
||||||
description: 'The branch that triggered the workflow run. e.g 1/merge, main'
|
description: 'The branch that triggered the workflow run. e.g `1/merge`, `main`'
|
||||||
tag:
|
tag:
|
||||||
value: ${{ steps.tag.outputs.tag }}
|
value: ${{ steps.tag.outputs.tag }}
|
||||||
description: 'The tag that triggered the workflow run. e.g v0.0.1, 0.0.1'
|
description: 'The tag that triggered the workflow run. e.g `v0.0.1`, `0.0.1`'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
Loading…
Reference in New Issue
Block a user