From d3c7a0c2497fc1fa7d7b5a83bdbe35dc128d844b Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Apr 2021 08:22:12 -0400 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4a4629da..24592cee 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,10 @@ Using the default separator. | all_changed_files | `string` | 'new.txt other.png ...' | Select all paths (*) are selected if there
is any file that matches other
criteria in the comparison;
if there is no file that
matches other criteria,
nothing is selected. | +## Example + +![Screen Shot 2021-04-02 at 8 20 04 AM](https://user-images.githubusercontent.com/17484350/113415111-828e4b00-938c-11eb-9129-678922e39e5c.png) + * Free software: [MIT license](LICENSE) From 6868b512caf67893c95dca8d9a6db891f04cdc6c Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Apr 2021 08:27:48 -0400 Subject: [PATCH 2/3] Update test.yml --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 088d8de8..c55efdc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,10 @@ jobs: for file in "${{ steps.changed-files.outputs.modified_files }}"; do echo $file done + - name: Run step when README.md changes + if: contains(${{ steps.changed-files.outputs.modified_files }}, 'README.md') + run: | + echo "Your README.md has been modified." - name: Run changed-files with comma separator if: github.event_name == 'pull_request' id: changed-files-comma From 66a53ea26fdce49dc3ee56e179b2f27a24719796 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Apr 2021 08:28:14 -0400 Subject: [PATCH 3/3] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c55efdc0..01253f78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: echo $file done - name: Run step when README.md changes - if: contains(${{ steps.changed-files.outputs.modified_files }}, 'README.md') + if: github.event_name == 'pull_request' && contains(${{ steps.changed-files.outputs.modified_files }}, 'README.md') run: | echo "Your README.md has been modified." - name: Run changed-files with comma separator