mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-24 03:53:51 +08:00
Merge pull request #177 from tj-actions/chore/update-readme
Updated README.md
This commit is contained in:
commit
3fcd82717d
20
README.md
20
README.md
@ -67,16 +67,16 @@ Support this project with a :star:
|
|||||||
|
|
||||||
<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->
|
<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->
|
||||||
|
|
||||||
| OUTPUT | TYPE | DESCRIPTION |
|
| OUTPUT | TYPE | DESCRIPTION |
|
||||||
|-----------------|--------|-------------------------------------------------------------------------------------|
|
|-----------------|--------|--------------------------------------------------------------------------------|
|
||||||
| base\_ref\_branch | string | The target branch of a pull request<br>or the source branch for a tag<br>e.g `main` |
|
| base\_ref\_branch | string | The target branch of a pull request<br>or tag e.g `main` |
|
||||||
| current\_branch | string | The current branch name regardless of event\_type<br>e.g `main`, `feature/test` |
|
| current\_branch | string | The current branch name regardless of event\_type<br>e.g `main`, `feature/test` |
|
||||||
| default\_branch | string | The default branch name e.g `main` OR<br>`master` |
|
| default\_branch | string | The default branch name e.g `main` OR<br>`master` |
|
||||||
| head\_ref\_branch | string | The source branch of a pull request<br>e.g `feature/test` |
|
| head\_ref\_branch | string | The source branch of a pull request<br>e.g `feature/test` |
|
||||||
| is\_default | string | Returns `"true"` if the current branch is<br>the default else `"false"`. |
|
| is\_default | string | Returns `"true"` if the current branch is<br>the default else `"false"`. |
|
||||||
| is\_tag | string | Returns `"true"` if the current branch is<br>a tag else `"false"`. |
|
| is\_tag | string | Returns `"true"` if the current branch is<br>a tag else `"false"`. |
|
||||||
| ref\_branch | string | The branch that triggered the workflow run.<br>e.g `1/merge`, `main` |
|
| ref\_branch | string | The branch that triggered the workflow run.<br>e.g `1/merge`, `main` |
|
||||||
| tag | string | The tag that triggered the workflow run.<br>e.g `v0.0.1`, `0.0.1` |
|
| tag | string | The tag that triggered the workflow run.<br>e.g `v0.0.1`, `0.0.1` |
|
||||||
|
|
||||||
<!-- AUTO-DOC-OUTPUT:END -->
|
<!-- AUTO-DOC-OUTPUT:END -->
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user