mirror of
https://github.com/tj-actions/changed-files
synced 2025-01-17 19:17:45 +00:00
Update README.md
This commit is contained in:
parent
4c551d94e0
commit
737590d30e
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue