Update action.yml

This commit is contained in:
Tonye Jack 2022-03-22 17:28:06 -04:00 committed by GitHub
parent 5225f98969
commit 2cb015dbf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"