From 737590d30ec12d43ac828d5d18ecfc3747431e5a Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 4 Apr 2021 09:11:55 -0400 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 790bd42c..bdd3bcd6 100644 --- a/README.md +++ b/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: