diff --git a/README.md b/README.md index 4ad1ed14f2e..b1680df5882 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 }}"