diff --git a/HISTORY.md b/HISTORY.md index b8b42cd1..8420ef90 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,38 @@ # Changelog +# [47.0.5](https://github.com/tj-actions/changed-files/compare/v47.0.4...v47.0.5) - (2026-03-03) + +## ๐Ÿ”„ Update + +- Updated README.md ([#2805](https://github.com/tj-actions/changed-files/issues/2805)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> ([35dace0](https://github.com/tj-actions/changed-files/commit/35dace0375d89e25e78db5f0a44127b61f4e5c20)) - (github-actions[bot]) +- Updated README.md ([#2803](https://github.com/tj-actions/changed-files/issues/2803)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> +Co-authored-by: Tonye Jack ([9ee99eb](https://github.com/tj-actions/changed-files/commit/9ee99eb5bda5d6a67fedcd50ecd24fb10add2f41)) - (github-actions[bot]) + +## โš™๏ธ Miscellaneous Tasks + +- **deps-dev:** Bump @types/node from 25.3.2 to 25.3.3 ([#2814](https://github.com/tj-actions/changed-files/issues/2814)) ([22103cc](https://github.com/tj-actions/changed-files/commit/22103cc46bda19c2b464ffe86db46df6922fd323)) - (dependabot[bot]) +- **deps:** Bump github/codeql-action from 4.32.4 to 4.32.5 ([#2815](https://github.com/tj-actions/changed-files/issues/2815)) ([6c02e90](https://github.com/tj-actions/changed-files/commit/6c02e900a24488df269842eb1cf6ffe3391ce182)) - (dependabot[bot]) +- **deps-dev:** Bump eslint-plugin-prettier from 5.5.4 to 5.5.5 ([#2764](https://github.com/tj-actions/changed-files/issues/2764)) ([05f9457](https://github.com/tj-actions/changed-files/commit/05f9457d921137103bb9687b6b571075f75a65f2)) - (dependabot[bot]) +- **deps:** Bump lodash and @types/lodash ([#2807](https://github.com/tj-actions/changed-files/issues/2807)) ([52ed872](https://github.com/tj-actions/changed-files/commit/52ed872dd71bea01a73ce5c7c595e78cb9566401)) - (dependabot[bot]) +- **deps:** Bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 ([#2774](https://github.com/tj-actions/changed-files/issues/2774)) ([1cc5746](https://github.com/tj-actions/changed-files/commit/1cc574637935a98713e34cbd4e8cf01a985f942c)) - (dependabot[bot]) +- **deps-dev:** Bump prettier from 3.7.4 to 3.8.1 ([#2775](https://github.com/tj-actions/changed-files/issues/2775)) ([de2962f](https://github.com/tj-actions/changed-files/commit/de2962f9f408abd241f7c1a8b6cac3ab44358d1a)) - (dependabot[bot]) +- **deps:** Bump github/codeql-action from 4.32.2 to 4.32.4 ([#2806](https://github.com/tj-actions/changed-files/issues/2806)) ([37e96cc](https://github.com/tj-actions/changed-files/commit/37e96ccbfefb9100f34f87d75c890c50c6e78d15)) - (dependabot[bot]) +- **deps-dev:** Bump eslint-plugin-jest from 29.12.1 to 29.15.0 ([#2799](https://github.com/tj-actions/changed-files/issues/2799)) ([2180b0f](https://github.com/tj-actions/changed-files/commit/2180b0f05d03655e0bedd1657d13f6abc6313014)) - (dependabot[bot]) +- **deps:** Bump actions/upload-artifact from 6.0.0 to 7.0.0 ([#2809](https://github.com/tj-actions/changed-files/issues/2809)) ([cf021c1](https://github.com/tj-actions/changed-files/commit/cf021c158c722f81dea97fe5edc8bd2de1cc2bc1)) - (dependabot[bot]) +- **deps:** Bump actions/download-artifact from 7.0.0 to 8.0.0 ([#2810](https://github.com/tj-actions/changed-files/issues/2810)) ([b54ac6f](https://github.com/tj-actions/changed-files/commit/b54ac6f17f95fdc4ec5ee3bf355ea7c354dc9c53)) - (dependabot[bot]) +- **deps-dev:** Bump @types/node from 25.2.2 to 25.3.2 ([#2811](https://github.com/tj-actions/changed-files/issues/2811)) ([0f2a510](https://github.com/tj-actions/changed-files/commit/0f2a510bd7ac84bc12cdc52c2094298bc26b1692)) - (dependabot[bot]) + +## โฌ†๏ธ Upgrades + +- Upgraded to v47.0.4 ([#2802](https://github.com/tj-actions/changed-files/issues/2802)) + +Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> +Co-authored-by: Tonye Jack ([b7ac303](https://github.com/tj-actions/changed-files/commit/b7ac303c8684d5e668c6c810e61a6fe32a53fe25)) - (github-actions[bot]) + # [47.0.4](https://github.com/tj-actions/changed-files/compare/v47.0.3...v47.0.4) - (2026-02-17) ## ๐Ÿ”„ Update diff --git a/README.md b/README.md index fd5a8104..09623a85 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,6 @@ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/d59579c4b70e453a93cd2147b5d57384)](https://app.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade) [![CI](https://github.com/tj-actions/changed-files/actions/workflows/test.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/test.yml) -[![Update release version.](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml) @@ -123,7 +122,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 # 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 @@ -141,7 +140,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get all changed markdown files id: changed-markdown-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: # Avoid using single or double quotes for multiline patterns files: | @@ -162,7 +161,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get all test, doc and src files that have changed id: changed-files-yaml - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files_yaml: | doc: @@ -197,7 +196,7 @@ jobs: # ----------------------------------------------------------------------------------------------------------- - name: Get changed files in the docs folder id: changed-files-specific - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files: docs/*.{js,html} # Alternatively using: `docs/**` files_ignore: docs/static.js @@ -239,7 +238,7 @@ jobs: steps: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 - name: List all changed files env: @@ -282,7 +281,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 # NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit. - name: List all changed files @@ -329,7 +328,7 @@ Support this project with a :star: ```yaml -- uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 +- uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 id: changed-files with: # Github API URL. @@ -826,7 +825,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 ... ``` @@ -839,7 +838,7 @@ The format of the version string is as follows: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection. @@ -862,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: separator: "," ... @@ -879,7 +878,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 - name: List all added files env: @@ -902,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 - name: Run a step if my-file.txt was modified if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') @@ -923,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: write_output_files: true @@ -942,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: json: true write_output_files: true @@ -962,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files: | my-file.txt @@ -985,7 +984,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files-specific - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files: | my-file.txt @@ -1036,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files_from_source_file: test/changed-files-list.txt ... @@ -1053,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files_from_source_file: | test/changed-files-list.txt @@ -1074,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: sha: ${{ github.event.pull_request.head.sha }} ... @@ -1091,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: base_sha: ${{ github.event.pull_request.base.sha }} ... @@ -1123,7 +1122,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 - name: List changed files env: @@ -1133,7 +1132,7 @@ jobs: - name: Get changed files in the .github folder id: changed-files-specific - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files: .github/** @@ -1164,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: path: dir1 @@ -1189,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: files: test/test-รจ.txt quotepath: "false" @@ -1228,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: base_sha: ${{ steps.last_successful_commit_push.outputs.base }} ... @@ -1255,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} ... @@ -1281,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: dir_names: "true" ... @@ -1298,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: json: "true" ... @@ -1315,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@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: since: "2022-08-19" - name: Get changed-files until 2022-08-20 id: changed-files-until - uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 + uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.4 with: until: "2022-08-20" ...