diff --git a/HISTORY.md b/HISTORY.md index 7916385b..6dcfe2ef 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,24 @@ # Changelog +## [v34.0.0](https://github.com/tj-actions/changed-files/tree/v34.0.0) (2022-10-25) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34...v34.0.0) + +## [v34](https://github.com/tj-actions/changed-files/tree/v34) (2022-10-25) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v33.0.0...v34) + +**Fixed bugs:** + +- \[BUG\] Fatal: $HOME not set [\#708](https://github.com/tj-actions/changed-files/issues/708) +- \[BUG\] Locate the merge-base of a PR branch instead of a relying on the fetch-depth. [\#704](https://github.com/tj-actions/changed-files/issues/704) + +**Merged pull requests:** + +- chore: use local scoped variables [\#710](https://github.com/tj-actions/changed-files/pull/710) ([jackton1](https://github.com/jackton1)) +- feat: add support for fetching more history [\#709](https://github.com/tj-actions/changed-files/pull/709) ([jackton1](https://github.com/jackton1)) +- Upgraded to v33.0.0 [\#707](https://github.com/tj-actions/changed-files/pull/707) ([jackton1](https://github.com/jackton1)) + ## [v33.0.0](https://github.com/tj-actions/changed-files/tree/v33.0.0) (2022-10-21) [Full Changelog](https://github.com/tj-actions/changed-files/compare/v33...v33.0.0) @@ -8,10 +27,6 @@ [Full Changelog](https://github.com/tj-actions/changed-files/compare/v32.1.2...v33) -**Fixed bugs:** - -- \[BUG\] `GITHUB_EVENT_PULL_REQUEST_BASE_SHA` isn't actually the head of the base branch, and `fetch-depth: 2` fails [\#704](https://github.com/tj-actions/changed-files/issues/704) - **Closed issues:** - Ability to do a three dots diff [\#702](https://github.com/tj-actions/changed-files/issues/702) @@ -168,7 +183,7 @@ ## [v30](https://github.com/tj-actions/changed-files/tree/v30) (2022-09-24) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.9...v30) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29...v30) **Fixed bugs:** @@ -184,13 +199,13 @@ - chore\(deps\): update codacy/codacy-analysis-cli-action action to v4.2.0 [\#634](https://github.com/tj-actions/changed-files/pull/634) ([renovate[bot]](https://github.com/apps/renovate)) - Upgraded to v29.0.9 [\#633](https://github.com/tj-actions/changed-files/pull/633) ([jackton1](https://github.com/jackton1)) -## [v29.0.9](https://github.com/tj-actions/changed-files/tree/v29.0.9) (2022-09-20) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29...v29.0.9) - ## [v29](https://github.com/tj-actions/changed-files/tree/v29) (2022-09-20) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.8...v29) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.9...v29) + +## [v29.0.9](https://github.com/tj-actions/changed-files/tree/v29.0.9) (2022-09-20) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29.0.8...v29.0.9) **Implemented enhancements:** @@ -1049,7 +1064,7 @@ ## [v13](https://github.com/tj-actions/changed-files/tree/v13) (2022-02-17) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v2.0.1...v13) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.2...v13) **Implemented enhancements:** @@ -1068,13 +1083,13 @@ - \[BUG\] wrong result of any\_change output [\#314](https://github.com/tj-actions/changed-files/issues/314) - \[BUG\] Investigate possible bug using since\_last\_remote\_commit when force pushing changes. [\#303](https://github.com/tj-actions/changed-files/issues/303) -## [v2.0.1](https://github.com/tj-actions/changed-files/tree/v2.0.1) (2021-12-30) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.2...v2.0.1) - ## [v12.2](https://github.com/tj-actions/changed-files/tree/v12.2) (2021-12-30) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.1...v12.2) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v2.0.1...v12.2) + +## [v2.0.1](https://github.com/tj-actions/changed-files/tree/v2.0.1) (2021-12-30) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.1...v2.0.1) **Merged pull requests:** diff --git a/README.md b/README.md index fef02466..efef7142 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ jobs: # Example 1 - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 - name: List all changed files run: | @@ -80,7 +80,7 @@ jobs: # Example 2 - name: Get changed files in the docs folder id: changed-files-specific - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: files: | docs/** @@ -173,7 +173,7 @@ Support this project with a :star: ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 ... ``` @@ -186,7 +186,7 @@ Support this project with a :star: ... - name: Get all changed files and use a comma separator in the output id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: separator: "," ... @@ -203,7 +203,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 - name: List all added files run: | @@ -224,7 +224,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 - name: Run a step if my-file.txt was modified if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') @@ -244,7 +244,7 @@ See [outputs](#outputs) for a list of all available outputs. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: files: | my-file.txt @@ -267,7 +267,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: files: | my-file.txt @@ -314,7 +314,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@v33 + uses: tj-actions/changed-files@v34 with: files_from_source_file: | test/changed-files-list.txt @@ -332,7 +332,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@v33 + uses: tj-actions/changed-files@v34 with: files_from_source_file: | test/changed-files-list.txt @@ -353,7 +353,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different SHA id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: sha: ${{ github.event.pull_request.head.sha }} ... @@ -370,7 +370,7 @@ See [inputs](#inputs) for more information. ... - name: Get changed files using a different base SHA id: changed-files - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: base_sha: ${{ github.event.pull_request.base.sha }} ... @@ -393,7 +393,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@v33 + uses: tj-actions/changed-files@v34 with: path: dir1 @@ -416,7 +416,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with quotepath disabled id: changed-files-quotepath - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: quotepath: "false" @@ -456,7 +456,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@v33 + uses: tj-actions/changed-files@v34 with: base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }} ... @@ -484,7 +484,7 @@ See [inputs](#inputs) for more information. - name: Run changed-files with the commit of the last successful test workflow run on main id: changed-files-base-sha-pull-request - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }} ... @@ -508,7 +508,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with dir_names id: changed-files-dir-names - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: dir_names: "true" ... @@ -525,7 +525,7 @@ See [inputs](#inputs) for more information. ... - name: Run changed-files with json output id: changed-files-json - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: json: "true" ... @@ -542,13 +542,13 @@ See [inputs](#inputs) for more information. ... - name: Get changed-files since 2022-08-19 id: changed-files-since - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: since: "2022-08-19" - name: Get changed-files until 2022-08-20 id: changed-files-until - uses: tj-actions/changed-files@v33 + uses: tj-actions/changed-files@v34 with: until: "2022-08-20" ...