Update README.md

This commit is contained in:
Tonye Jack 2021-02-13 05:44:40 -05:00 committed by GitHub
parent 7f0ba5c8c3
commit fd094405d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,8 @@ Get branch information without the `/ref/*` prefix
## Outputs ## Outputs
| Output | type | Example | Description | | Output | type | Example | Description |
|:--------------------:|:-----------:|:---------------------------:|:-----------------------------------------------------------:| |:--------------------:|:------------:|:---------------------------:|:-----------------------------------------------------------------:|
| is_default | `boolean` | `true` *OR* `false` | Detects wheter the action is running on a default branch |
| current_branch | `string` | `main` *OR* `feature/test` | Always returns a valid branch name for a triggered workflow run. | | current_branch | `string` | `main` *OR* `feature/test` | Always returns a valid branch name for a triggered workflow run. |
| base_ref_branch | `string` | `main` | The target branch of a pull request | | base_ref_branch | `string` | `main` | The target branch of a pull request |
| head_ref_branch | `string` | `feature/test` | The source branch of a pull request | | head_ref_branch | `string` | `feature/test` | The source branch of a pull request |