diff --git a/README.md b/README.md index 09623a85..70024245 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g # with: # since_last_remote_commit: true @@ -140,7 +140,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get all changed markdown files id: changed-markdown-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: # Avoid using single or double quotes for multiline patterns files: | @@ -161,7 +161,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get all test, doc and src files that have changed id: changed-files-yaml - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files_yaml: | doc: @@ -196,7 +196,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get changed files in the docs folder id: changed-files-specific - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files: docs/*.{js,html} # Alternatively using: `docs/**` files_ignore: docs/static.js @@ -238,7 +238,7 @@ jobs: steps: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 - name: List all changed files env: @@ -281,7 +281,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 # NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit. - name: List all changed files @@ -328,7 +328,7 @@ Support this project with a :star: ```yaml -- uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 +- uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 id: changed-files with: # Github API URL. @@ -825,7 +825,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 ... ``` @@ -838,7 +838,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection. @@ -861,7 +861,7 @@ The format of the version string is as follows: ... - name: Get all changed files and use a comma separator in the output id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: separator: "," ... @@ -878,7 +878,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 - name: List all added files env: @@ -901,7 +901,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 - name: Run a step if my-file.txt was modified if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') @@ -922,7 +922,7 @@ See [outputs](#outputs) for a list of all available outputs. - name: Get changed files and write the outputs to a Txt file id: changed-files-write-output-files-txt - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: write_output_files: true @@ -941,7 +941,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files and write the outputs to a JSON file id: changed-files-write-output-files-json - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: json: true write_output_files: true @@ -961,7 +961,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files: | my-file.txt @@ -984,7 +984,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files-specific - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files: | my-file.txt @@ -1035,7 +1035,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files using a source file or list of file(s) to populate to files input. id: changed-files-specific-source-file - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files_from_source_file: test/changed-files-list.txt ... @@ -1052,7 +1052,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files. id: changed-files-specific-source-file-and-specify-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files_from_source_file: | test/changed-files-list.txt @@ -1073,7 +1073,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different SHA id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: sha: ${{ github.event.pull_request.head.sha }} ... @@ -1090,7 +1090,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different base SHA id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: base_sha: ${{ github.event.pull_request.base.sha }} ... @@ -1122,7 +1122,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 - name: List changed files env: @@ -1132,7 +1132,7 @@ jobs: - name: Get changed files in the .github folder id: changed-files-specific - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files: .github/** @@ -1163,7 +1163,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with defaults in dir1 id: changed-files-for-dir1 - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: path: dir1 @@ -1188,13 +1188,13 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with quotepath disabled id: changed-files-quotepath - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: quotepath: "false" - name: Run changed-files with quotepath disabled for a specified list of file(s) id: changed-files-quotepath-specific - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: files: test/test-รจ.txt quotepath: "false" @@ -1227,7 +1227,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with the commit of the last successful test workflow run id: changed-files-base-sha-push - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: base_sha: ${{ steps.last_successful_commit_push.outputs.base }} ... @@ -1254,7 +1254,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with the commit of the last successful test workflow run on the main branch id: changed-files-base-sha-pull-request - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} ... @@ -1280,7 +1280,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with dir_names id: changed-files-dir-names - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: dir_names: "true" ... @@ -1297,7 +1297,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with JSON output id: changed-files-json - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: json: "true" ... @@ -1314,13 +1314,13 @@ See [inputs](#inputs) for more information. ... - name: Get changed-files since 2022-08-19 id: changed-files-since - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: since: "2022-08-19" - name: Get changed-files until 2022-08-20 id: changed-files-until - uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5 with: until: "2022-08-20" ...