diff --git a/HISTORY.md b/HISTORY.md index 951163fe..26837508 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,19 +2,39 @@ ## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.0.5...HEAD) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.1.0...HEAD) **Fixed bugs:** +- \[BUG\] Wrong changed-files returned for forked PRs [\#714](https://github.com/tj-actions/changed-files/issues/714) + +## [v34.1.0](https://github.com/tj-actions/changed-files/tree/v34.1.0) (2022-11-04) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34...v34.1.0) + +## [v34](https://github.com/tj-actions/changed-files/tree/v34) (2022-11-04) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.0.5...v34) + +**Fixed bugs:** + +- \[BUG\] diff-sha.sh results in "fatal: ambiguous argument '': unknown revision or path not in the working tree." [\#750](https://github.com/tj-actions/changed-files/issues/750) - \[BUG\] Action failing on PR with "Unable to find merge-base in shallow clone" [\#737](https://github.com/tj-actions/changed-files/issues/737) +**Closed issues:** + +- Logical Issue in deepenShallowCloneToFindCommit [\#747](https://github.com/tj-actions/changed-files/issues/747) + +**Merged pull requests:** + +- Updated README.md [\#751](https://github.com/tj-actions/changed-files/pull/751) ([jackton1](https://github.com/jackton1)) +- Upgraded to v34.0.5 [\#749](https://github.com/tj-actions/changed-files/pull/749) ([jackton1](https://github.com/jackton1)) +- chore: update test [\#746](https://github.com/tj-actions/changed-files/pull/746) ([jackton1](https://github.com/jackton1)) +- fix: including changed files from merge commits, no merge-base found [\#736](https://github.com/tj-actions/changed-files/pull/736) ([jackton1](https://github.com/jackton1)) + ## [v34.0.5](https://github.com/tj-actions/changed-files/tree/v34.0.5) (2022-11-02) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34...v34.0.5) - -## [v34](https://github.com/tj-actions/changed-files/tree/v34) (2022-11-02) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.0.4...v34) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v34.0.4...v34.0.5) **Merged pull requests:** @@ -95,7 +115,7 @@ ## [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/v33...v34.0.0) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v33.0.0...v34.0.0) **Fixed bugs:** @@ -108,13 +128,13 @@ - 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](https://github.com/tj-actions/changed-files/tree/v33) (2022-10-21) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v33.0.0...v33) - ## [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/v32...v33.0.0) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v33...v33.0.0) + +## [v33](https://github.com/tj-actions/changed-files/tree/v33) (2022-10-21) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v32...v33) **Closed issues:** @@ -195,7 +215,7 @@ ## [v32.0.0](https://github.com/tj-actions/changed-files/tree/v32.0.0) (2022-10-06) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31...v32.0.0) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31.0.3...v32.0.0) **Merged pull requests:** @@ -206,13 +226,13 @@ - chore\(deps\): update actions/checkout action to v3.1.0 [\#669](https://github.com/tj-actions/changed-files/pull/669) ([renovate[bot]](https://github.com/apps/renovate)) - Upgraded to v31.0.3 [\#667](https://github.com/tj-actions/changed-files/pull/667) ([jackton1](https://github.com/jackton1)) -## [v31](https://github.com/tj-actions/changed-files/tree/v31) (2022-10-02) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31.0.3...v31) - ## [v31.0.3](https://github.com/tj-actions/changed-files/tree/v31.0.3) (2022-10-02) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31.0.2...v31.0.3) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31...v31.0.3) + +## [v31](https://github.com/tj-actions/changed-files/tree/v31) (2022-10-02) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v31.0.2...v31) **Fixed bugs:** @@ -252,7 +272,7 @@ ## [v31.0.0](https://github.com/tj-actions/changed-files/tree/v31.0.0) (2022-09-25) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30...v31.0.0) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30.0.0...v31.0.0) **Merged pull requests:** @@ -265,13 +285,13 @@ - chore: update broken link [\#642](https://github.com/tj-actions/changed-files/pull/642) ([jackton1](https://github.com/jackton1)) - Upgraded to v30.0.0 [\#641](https://github.com/tj-actions/changed-files/pull/641) ([jackton1](https://github.com/jackton1)) -## [v30](https://github.com/tj-actions/changed-files/tree/v30) (2022-09-24) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30.0.0...v30) - ## [v30.0.0](https://github.com/tj-actions/changed-files/tree/v30.0.0) (2022-09-24) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29...v30.0.0) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v30...v30.0.0) + +## [v30](https://github.com/tj-actions/changed-files/tree/v30) (2022-09-24) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v29...v30) **Fixed bugs:** @@ -1152,7 +1172,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:** @@ -1171,13 +1191,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:** @@ -1331,7 +1351,7 @@ ## [v1.2.1](https://github.com/tj-actions/changed-files/tree/v1.2.1) (2021-11-08) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v1.2.1) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.1) **Implemented enhancements:** @@ -1345,13 +1365,13 @@ - Update actions/checkout action to v2.4.0 [\#243](https://github.com/tj-actions/changed-files/pull/243) ([renovate[bot]](https://github.com/apps/renovate)) - Upgraded to v11.5 [\#241](https://github.com/tj-actions/changed-files/pull/241) ([jackton1](https://github.com/jackton1)) -## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.0) - ## [v11.5](https://github.com/tj-actions/changed-files/tree/v11.5) (2021-10-30) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v11.5) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v11.5) + +## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v1.2.0) **Merged pull requests:** @@ -1736,7 +1756,7 @@ ## [v7](https://github.com/tj-actions/changed-files/tree/v7) (2021-06-09) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6...v7) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.3...v7) **Closed issues:** @@ -1752,13 +1772,13 @@ - Update tj-actions/sync-release-version action to v8.7 [\#86](https://github.com/tj-actions/changed-files/pull/86) ([renovate[bot]](https://github.com/apps/renovate)) - Upgraded to v6.3 [\#85](https://github.com/tj-actions/changed-files/pull/85) ([jackton1](https://github.com/jackton1)) -## [v6](https://github.com/tj-actions/changed-files/tree/v6) (2021-05-26) - -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.3...v6) - ## [v6.3](https://github.com/tj-actions/changed-files/tree/v6.3) (2021-05-26) -[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.2...v6.3) +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6...v6.3) + +## [v6](https://github.com/tj-actions/changed-files/tree/v6) (2021-05-26) + +[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.2...v6) **Merged pull requests:** diff --git a/diff-sha.sh b/diff-sha.sh index 91332d76..e825d46e 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -set -exuo pipefail +set -euo pipefail INITIAL_COMMIT="false" GITHUB_OUTPUT=${GITHUB_OUTPUT:-""}