Update README.md
This commit is contained in:
parent
c23398e584
commit
e8f8d088f6
26
README.md
26
README.md
@ -15,7 +15,31 @@ Get all modified files relative to the default branch.
|
||||
|
||||
## Usage
|
||||
|
||||
With defaults
|
||||
Push event
|
||||
|
||||
```
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test changed-files
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Get changed files
|
||||
id: changed_files
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
```
|
||||
|
||||
|
||||
Pull Request events
|
||||
|
||||
```yaml
|
||||
name: CI
|
||||
|
Loading…
x
Reference in New Issue
Block a user