Update README.md

This commit is contained in:
Tonye Jack
2021-04-23 06:19:52 -04:00
committed by GitHub
parent c23398e584
commit e8f8d088f6

View File

@@ -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