mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:13:51 +08:00
Merge pull request #70 from tj-actions/chore/update-readme
This commit is contained in:
commit
c72f85696a
@ -58,10 +58,9 @@ on:
|
||||
|:-----------------:|:---------:|:--------:|:-----------------------:|
|
||||
| strip_tag_prefix | `string` | `''` | The tag prefix to strip <br> *i.e `v0.0.1` -> `v` -> `0.0.1`* |
|
||||
|
||||
|
||||
## Events
|
||||
|
||||
- `push*`
|
||||
* `push*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@ -94,7 +93,7 @@ on:
|
||||
|
||||
```
|
||||
|
||||
- `pull_request*`
|
||||
* `pull_request*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@ -126,7 +125,7 @@ on:
|
||||
# Outputs: "Running on branch: feature/test".
|
||||
```
|
||||
|
||||
- `tag*`
|
||||
* `tag*`
|
||||
|
||||
```yaml
|
||||
on:
|
||||
@ -153,7 +152,6 @@ on:
|
||||
# Outputs: "v0.0.1" OR "0.0.1"
|
||||
```
|
||||
|
||||
|
||||
### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout):
|
||||
|
||||
```yaml
|
||||
|
Loading…
Reference in New Issue
Block a user