mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 19:03:51 +08:00
Update README.md
This commit is contained in:
parent
26b1f6c3ce
commit
11f3896702
@ -29,6 +29,15 @@ Get branch information without the `/ref/*` prefix
|
||||
### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout):
|
||||
|
||||
```yaml
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v1
|
||||
|
Loading…
Reference in New Issue
Block a user