From 6d8f9bd37957780639752a3b4b505f4069c40711 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 5 Feb 2024 12:34:02 -0700 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fc2ede456cc..c58940055a2 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,9 @@ jobs: with: fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. + # ----------------------------------------------------------------------------------------------------------- # Example 1 + # ----------------------------------------------------------------------------------------------------------- - name: Get changed files id: changed-files uses: tj-actions/changed-files@v42 @@ -135,7 +137,9 @@ jobs: echo "$file was changed" done + # ----------------------------------------------------------------------------------------------------------- # Example 2 + # ----------------------------------------------------------------------------------------------------------- - name: Get all changed markdown files id: changed-markdown-files uses: tj-actions/changed-files@v42 @@ -153,7 +157,9 @@ jobs: echo "$file was changed" done + # ----------------------------------------------------------------------------------------------------------- # Example 3 + # ----------------------------------------------------------------------------------------------------------- - name: Get all test, doc and src files that have changed id: changed-files-yaml uses: tj-actions/changed-files@v42 @@ -186,7 +192,9 @@ jobs: echo "One or more doc file(s) has changed." echo "List all the files that have changed: $DOC_ALL_CHANGED_FILES" - # Example 3 + # ----------------------------------------------------------------------------------------------------------- + # Example 4 + # ----------------------------------------------------------------------------------------------------------- - name: Get changed files in the docs folder id: changed-files-specific uses: tj-actions/changed-files@v42