From f6edf885b4a59cd97f396367b3e6fe4f26454601 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 26 Jul 2023 11:13:06 -0600 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ad1ed14..b1680df5 100644 --- a/README.md +++ b/README.md @@ -129,8 +129,9 @@ jobs: - src/** # Optionally set `files_yaml_from_source_file` to read the YAML from a file. e.g `files_yaml_from_source_file: .github/changed-files.yml` + # NOTE: The key has to start with the same key used above e.g. `test_(...)` | `doc_(...)` | `src_(...)` when trying to access the `any_changed` output. - name: Run step if test file(s) change - if: steps.changed-files-yaml.outputs.test_any_changed == 'true' + if: steps.changed-files-yaml.outputs.test_any_changed == 'true' run: | echo "One or more test file(s) has changed." echo "List all the files that have changed: ${{ steps.changed-files-yaml.outputs.test_all_changed_files }}"