mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-12-27 14:27:59 +08:00
Merge pull request #3 from tj-actions/feature/update-readme
This commit is contained in:
commit
711862b7fc
@ -32,6 +32,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…
x
Reference in New Issue
Block a user