mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Update README.md
This commit is contained in:
parent
b15a02d62e
commit
65870752db
@ -9,10 +9,10 @@ Get branch information without the `/ref/*` prefix
|
||||
|
||||
| Output | type | Example | Description |
|
||||
|:--------------------:|:-----------:|:---------------------------:|:-----------------------------------------------------------:|
|
||||
| current_branch | `string` | `main` or `feature/test` | Always returns the branch that triggered the workflow run. |
|
||||
| current_branch | `string` | `main` *OR* `feature/test` | Always returns the branch that triggered the workflow run. |
|
||||
| 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 |
|
||||
| ref_branch | `string` | `1/merge` OR `main` | The branch that triggered the workflow run |
|
||||
| ref_branch | `string` | `1/merge` *OR* `main` | The branch that triggered the workflow run |
|
||||
|
||||
|
||||
## Usage
|
||||
|
Loading…
x
Reference in New Issue
Block a user