Update README.md

This commit is contained in:
Tonye Jack 2020-12-11 16:18:42 -05:00 committed by GitHub
parent 26b1f6c3ce
commit 11f3896702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,15 @@ Get branch information without the `/ref/*` prefix
### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout): ### Possible usage with [actions/checkout@v2](https://github.com/actions/checkout):
```yaml ```yaml
on:
pull_request:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get branch names. - name: Get branch names.
id: branch-names id: branch-names
uses: tj-actions/branch-names@v1 uses: tj-actions/branch-names@v1