From 1772038cdea534aa1ce3ce738ffbd28eca069838 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 1 May 2021 14:39:03 -0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 50f11ecf..ee85cbe2 100644 --- a/README.md +++ b/README.md @@ -138,10 +138,15 @@ jobs: ^(mynewfile|custom) - name: Run step if all files listed above have changed - if: steps.changed-files-specific.outputs.all_changed + if: steps.changed-files-specific.outputs.all_changed == 'true' run: | echo "Both my-file.txt and test.txt have changed." + - name: Run step if any of the listed files above change + if: steps.changed-files-specific.outputs.any_changed == 'true' + run: | + echo "Either my-file.txt or test.txt have changed." + ``` ### Running [pre-commit](https://pre-commit.com/) on all modified files