Update README.md

This commit is contained in:
Tonye Jack 2021-04-04 09:11:55 -04:00 committed by GitHub
parent 4c551d94e0
commit 737590d30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,30 @@ Get modified files using [`git diff --diff-filter`](https://git-scm.com/docs/git
## Usage
With defaults
```yaml
name: CI
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
name: Test changed-files
steps:
- uses: actions/checkout@v2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v3.1
```
## Example
```yaml
...
steps: