diff --git a/.github/workflows/sync-release-version.yml b/.github/workflows/sync-release-version.yml index 8ee2b588..9968925c 100644 --- a/.github/workflows/sync-release-version.yml +++ b/.github/workflows/sync-release-version.yml @@ -19,7 +19,7 @@ jobs: - name: Run release-tagger uses: tj-actions/release-tagger@1a9264b0fd99a1ef92c4fd2f077f292900cc79b6 # v4.0.0 - name: Sync release version. - uses: tj-actions/sync-release-version@2c909a7cf69905388d998101c40edb26d0882ea2 # v13.12 + uses: tj-actions/sync-release-version@2a7ef0deb39b3ecce887ee99d2261c6cef989d84 # v13.16 id: sync-release-version with: pattern: '${{ github.repository }}@' @@ -28,7 +28,7 @@ jobs: paths: | README.md - name: Sync release package version. - uses: tj-actions/sync-release-version@2c909a7cf69905388d998101c40edb26d0882ea2 # v13.12 + uses: tj-actions/sync-release-version@2a7ef0deb39b3ecce887ee99d2261c6cef989d84 # v13.16 id: sync-release-package-version with: pattern: '"version": "' diff --git a/HISTORY.md b/HISTORY.md index d1159c0d..cbb88e65 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,33 @@ # Changelog +# [46.0.3](https://github.com/tj-actions/changed-files/compare/v46.0.2...v46.0.3) - (2025-03-23) + +## ๐Ÿ”„ Update + +- Updated README.md ([#2501](https://github.com/tj-actions/changed-files/issues/2501)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> ([41e0de5](https://github.com/tj-actions/changed-files/commit/41e0de576a0f2b64d9f06f2773f539109e55a70a)) - (github-actions[bot]) +- Updated README.md ([#2499](https://github.com/tj-actions/changed-files/issues/2499)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> ([9457878](https://github.com/tj-actions/changed-files/commit/945787811a795cd840a1157ac590dd7827a05c8e)) - (github-actions[bot]) + +## ๐Ÿ“š Documentation + +- Remove warning ([#2504](https://github.com/tj-actions/changed-files/issues/2504)) ([8132356](https://github.com/tj-actions/changed-files/commit/813235684248c47a3518575ef56906084b59e7e8)) - (Tonye Jack) + +## โš™๏ธ Miscellaneous Tasks + +- **deps:** Bump test/demo from `5dfac2e` to `c6bd3b3` ([#2505](https://github.com/tj-actions/changed-files/issues/2505)) ([823fceb](https://github.com/tj-actions/changed-files/commit/823fcebdb31bb35fdf2229d9f769b400309430d0)) - (dependabot[bot]) +- Pin github actions ([#2503](https://github.com/tj-actions/changed-files/issues/2503)) ([7a369a7](https://github.com/tj-actions/changed-files/commit/7a369a71758acce79205e5145cb728a08ae607fb)) - (Tonye Jack) +- **deps-dev:** Bump @types/node from 22.13.10 to 22.13.11 ([#2502](https://github.com/tj-actions/changed-files/issues/2502)) ([9468856](https://github.com/tj-actions/changed-files/commit/9468856c2214566e4f7d96d3a018fb3e889a4d6d)) - (dependabot[bot]) + +## โฌ†๏ธ Upgrades + +- Upgraded to v46.0.2 ([#2500](https://github.com/tj-actions/changed-files/issues/2500)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> +Co-authored-by: Tonye Jack ([401c722](https://github.com/tj-actions/changed-files/commit/401c7227d10aad0ed26ab13735f1b290c3bcc919)) - (github-actions[bot]) + # [46.0.2](https://github.com/tj-actions/changed-files/compare/v46.0.1...v46.0.2) - (2025-03-22) ## ๐Ÿ› Bug Fixes diff --git a/README.md b/README.md index 219780f1..4928b7e2 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 # 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 - name: List all changed files env: @@ -281,7 +281,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 # 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 +- uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 id: changed-files with: # Github API URL. @@ -813,7 +813,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 ... ``` @@ -826,7 +826,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection. @@ -849,7 +849,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: separator: "," ... @@ -866,7 +866,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 - name: List all added files env: @@ -889,7 +889,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 - name: Run a step if my-file.txt was modified if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') @@ -910,7 +910,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: write_output_files: true @@ -929,7 +929,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: json: true write_output_files: true @@ -949,7 +949,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files: | my-file.txt @@ -972,7 +972,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files-specific - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files: | my-file.txt @@ -1023,7 +1023,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files_from_source_file: test/changed-files-list.txt ... @@ -1040,7 +1040,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files_from_source_file: | test/changed-files-list.txt @@ -1061,7 +1061,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different SHA id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: sha: ${{ github.event.pull_request.head.sha }} ... @@ -1078,7 +1078,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different base SHA id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: base_sha: ${{ github.event.pull_request.base.sha }} ... @@ -1110,7 +1110,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 - name: List changed files env: @@ -1120,7 +1120,7 @@ jobs: - name: Get changed files in the .github folder id: changed-files-specific - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files: .github/** @@ -1151,7 +1151,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: path: dir1 @@ -1176,13 +1176,13 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with quotepath disabled id: changed-files-quotepath - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: files: test/test-รจ.txt quotepath: "false" @@ -1215,7 +1215,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: base_sha: ${{ steps.last_successful_commit_push.outputs.base }} ... @@ -1242,7 +1242,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@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} ... @@ -1268,7 +1268,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with dir_names id: changed-files-dir-names - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: dir_names: "true" ... @@ -1285,7 +1285,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with JSON output id: changed-files-json - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: json: "true" ... @@ -1302,13 +1302,13 @@ See [inputs](#inputs) for more information. ... - name: Get changed-files since 2022-08-19 id: changed-files-since - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: since: "2022-08-19" - name: Get changed-files until 2022-08-20 id: changed-files-until - uses: tj-actions/changed-files@26a38635fc1173cc5820336ce97be6188d0de9f5 # v46 + uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46 with: until: "2022-08-20" ...