Compare commits
90 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc3bbb0c52 | ||
|
|
373db58d9d | ||
|
|
9161a8dcde | ||
|
|
e13fb92d45 | ||
|
|
7891350b8e | ||
|
|
457e041909 | ||
|
|
eaf854ef0c | ||
|
|
681bf92506 | ||
|
|
3ec883ad31 | ||
|
|
e5740c1ffc | ||
|
|
bbe7f7b544 | ||
|
|
205913dc0c | ||
|
|
dd73690e2e | ||
|
|
c226cd45e5 | ||
|
|
facb2785cd | ||
|
|
4b558a92db | ||
|
|
5f68aa8f2d | ||
|
|
0da22a2fef | ||
|
|
2972fe4d6b | ||
|
|
57a81a39f3 | ||
|
|
1d8732f877 | ||
|
|
3de07763cf | ||
|
|
b53f3b80e1 | ||
|
|
4f8f7b39ce | ||
|
|
ff86e79932 | ||
|
|
14c7f454e7 | ||
|
|
cda0f1d381 | ||
|
|
d44c8e3205 | ||
|
|
6b3dabec4c | ||
|
|
bce8e36722 | ||
|
|
b376795801 | ||
|
|
d41df78c17 | ||
|
|
4ae1154663 | ||
|
|
60268df189 | ||
|
|
f52993ba02 | ||
|
|
3b13fed1b0 | ||
|
|
338ea071b0 | ||
|
|
25cb66210f | ||
|
|
d6babd6899 | ||
|
|
0a79e54e1f | ||
|
|
9d06a2a6a9 | ||
|
|
7e8e88bd35 | ||
|
|
b510737b96 | ||
|
|
2e70979353 | ||
|
|
625929d27d | ||
|
|
03334d095e | ||
|
|
8a0655f075 | ||
|
|
98e187efcd | ||
|
|
96f65726ea | ||
|
|
bf548e4af2 | ||
|
|
8b07fd3b11 | ||
|
|
d195e6e7c2 | ||
|
|
1754cd4b9e | ||
|
|
03c184259a | ||
|
|
5f0139347a | ||
|
|
58a98867a7 | ||
|
|
9216b0cec2 | ||
|
|
0e3a6c3e99 | ||
|
|
e86678fe3a | ||
|
|
35d5a4d79f | ||
|
|
887f93673c | ||
|
|
a29e8b5656 | ||
|
|
5a127050b2 | ||
|
|
581934340b | ||
|
|
5587afbef7 | ||
|
|
0f039f361b | ||
|
|
6d4230d4f0 | ||
|
|
1711887607 | ||
|
|
c393672835 | ||
|
|
396e5a51d5 | ||
|
|
47a2d62412 | ||
|
|
c73b12cc6d | ||
|
|
41ce994be9 | ||
|
|
192e174507 | ||
|
|
5e85e31a01 | ||
|
|
7871e848ad | ||
|
|
15fa7fb955 | ||
|
|
1c5b7dc5f4 | ||
|
|
4765b9f775 | ||
|
|
0c82494d63 | ||
|
|
7d02310f6e | ||
|
|
0df48f8409 | ||
|
|
b76e23c88a | ||
|
|
549c203ec2 | ||
|
|
cee950d742 | ||
|
|
44ce9f4341 | ||
|
|
7b65c377b1 | ||
|
|
532b66aa5c | ||
|
|
d9384bba72 | ||
|
|
461ea4f9bf |
2
.github/workflows/codacy-analysis.yml
vendored
2
.github/workflows/codacy-analysis.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
|
||||
- name: Run Codacy Analysis CLI
|
||||
continue-on-error: true
|
||||
uses: codacy/codacy-analysis-cli-action@v4.4.0
|
||||
uses: codacy/codacy-analysis-cli-action@v4.4.1
|
||||
with:
|
||||
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
|
||||
# You can also omit the token and run the tools that support default configurations
|
||||
|
||||
2
.github/workflows/sync-release-version.yml
vendored
2
.github/workflows/sync-release-version.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Run git-cliff
|
||||
uses: tj-actions/git-cliff@v1
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v6.0.4
|
||||
uses: peter-evans/create-pull-request@v6.1.0
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -60,7 +60,7 @@ jobs:
|
||||
yarn install
|
||||
|
||||
- name: Run eslint on changed files
|
||||
uses: tj-actions/eslint-changed-files@v24
|
||||
uses: tj-actions/eslint-changed-files@v25
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
yarn all
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v19
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
id: changed_files
|
||||
with:
|
||||
files: |
|
||||
|
||||
2
.github/workflows/update-readme.yml
vendored
2
.github/workflows/update-readme.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
uses: tj-actions/remark@v3
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v19
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
id: verify_changed_files
|
||||
with:
|
||||
files: |
|
||||
|
||||
200
HISTORY.md
200
HISTORY.md
@@ -1,5 +1,205 @@
|
||||
# Changelog
|
||||
|
||||
# [44.5.3](https://github.com/tj-actions/changed-files/compare/v44.5.2...v44.5.3) - (2024-06-19)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency yaml to v2.4.5 ([57a81a3](https://github.com/tj-actions/changed-files/commit/57a81a39f3c336e860a2312a2487a8a2e6d495ce)) - (renovate[bot])
|
||||
- **deps:** Update dependency yaml to v2.4.4 ([3de0776](https://github.com/tj-actions/changed-files/commit/3de07763cf5f7eb991d59ca7894be8df0f36c80c)) - (renovate[bot])
|
||||
- **deps:** Update dependency yaml to v2.4.3 ([#2120](https://github.com/tj-actions/changed-files/issues/2120)) ([60268df](https://github.com/tj-actions/changed-files/commit/60268df189b72237cfcbe6ec2937367ef2b2b75d)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([2972fe4](https://github.com/tj-actions/changed-files/commit/2972fe4d6b07bd6de22186555c2046a94a3aa302)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([1d8732f](https://github.com/tj-actions/changed-files/commit/1d8732f877032fb30b668e90ed6e4256ce87e263)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.14.6 ([eaf854e](https://github.com/tj-actions/changed-files/commit/eaf854ef0c266753e1abec356dcf17d92695b251)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.1.0 ([681bf92](https://github.com/tj-actions/changed-files/commit/681bf9250661435d933b9a002c1e488cb0b36392)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.5 ([3ec883a](https://github.com/tj-actions/changed-files/commit/3ec883ad318c2acc1a7be8bd10b3df3fb3c1ade9)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.4 ([e5740c1](https://github.com/tj-actions/changed-files/commit/e5740c1ffc006780d1210810ce5067ebb34610e9)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.3 ([bbe7f7b](https://github.com/tj-actions/changed-files/commit/bbe7f7b54441cfd1728f63a9d9a32c751f006e81)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.13.1 ([205913d](https://github.com/tj-actions/changed-files/commit/205913dc0c3aa09da9277a1b4096d2bb6321db0b)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([dd73690](https://github.com/tj-actions/changed-files/commit/dd73690e2ecbbee49f1f7fc434cd33a761ba90f1)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.1.5 ([c226cd4](https://github.com/tj-actions/changed-files/commit/c226cd45e52ac9d935958965a9892ad7bf929089)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.3.2 ([facb278](https://github.com/tj-actions/changed-files/commit/facb2785cd0aab364e33f9ec80300c644bbdbec5)) - (renovate[bot])
|
||||
- Update README.md ([#2139](https://github.com/tj-actions/changed-files/issues/2139)) ([4b558a9](https://github.com/tj-actions/changed-files/commit/4b558a92dbdbf21c40539cba330831f2def9873d)) - (Tonye Jack)
|
||||
- **deps:** Update typescript-eslint monorepo to v7.13.0 ([5f68aa8](https://github.com/tj-actions/changed-files/commit/5f68aa8f2d1601edffee7c7433dc3d8239630fef)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([0da22a2](https://github.com/tj-actions/changed-files/commit/0da22a2fef3bf27dba3a5fbb800090b56d8796cd)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.5 ([b53f3b8](https://github.com/tj-actions/changed-files/commit/b53f3b80e1ef417088e4c3762113460e92f3cc19)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.6.0 ([4f8f7b3](https://github.com/tj-actions/changed-files/commit/4f8f7b39cef32b5fac73349e35683446ad08d7dd)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.3.1 ([ff86e79](https://github.com/tj-actions/changed-files/commit/ff86e799329a01358899f7155923017483c20c5c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.2 ([14c7f45](https://github.com/tj-actions/changed-files/commit/14c7f454e7918a2d6c36b0eccf701ef458eb6d1c)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-github to v5.0.1 ([cda0f1d](https://github.com/tj-actions/changed-files/commit/cda0f1d381749ddcab1f3089fb0b74885bf4672d)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.1 ([d44c8e3](https://github.com/tj-actions/changed-files/commit/d44c8e3205b92cc77b23cc18e27b93ac5a2ea565)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.12.0 ([6b3dabe](https://github.com/tj-actions/changed-files/commit/6b3dabec4c96fb1ffad2a9e4cf3aac3c201efe55)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-github to v5 ([#2126](https://github.com/tj-actions/changed-files/issues/2126)) ([bce8e36](https://github.com/tj-actions/changed-files/commit/bce8e36722940cf1b7ea18d6cea3f65237b2da6d)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([b376795](https://github.com/tj-actions/changed-files/commit/b37679580189c7d45e130ff6493385da369f7469)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/eslint-changed-files action to v25 ([#2125](https://github.com/tj-actions/changed-files/issues/2125)) ([d41df78](https://github.com/tj-actions/changed-files/commit/d41df78c17301969b5b7113aecce4b6f8e427014)) - (renovate[bot])
|
||||
- Downgrade tj-actions/eslint-changed-files pending move to eslint 9 ([#2124](https://github.com/tj-actions/changed-files/issues/2124)) ([4ae1154](https://github.com/tj-actions/changed-files/commit/4ae1154663a757e030a3f13e21e26b297ababd2a)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @types/node to v20.14.0 ([f52993b](https://github.com/tj-actions/changed-files/commit/f52993ba02d6db24aaa2985670d9a2719dc6cd7e)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.3.0 ([3b13fed](https://github.com/tj-actions/changed-files/commit/3b13fed1b01c7717dc87101f9050ed33f98450da)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.14 ([338ea07](https://github.com/tj-actions/changed-files/commit/338ea071b0692eff915629d53579bdc5088d1011)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.2 ([#2116](https://github.com/tj-actions/changed-files/issues/2116))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([25cb662](https://github.com/tj-actions/changed-files/commit/25cb66210ff37283ad495177d68ccb8489ce1277)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.2](https://github.com/tj-actions/changed-files/compare/v44.5.1...v44.5.2) - (2024-05-30)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Warning with fetch_missing_history_max_retries using REST API ([#2114](https://github.com/tj-actions/changed-files/issues/2114)) ([d6babd6](https://github.com/tj-actions/changed-files/commit/d6babd6899969df1a11d14c368283ea4436bca78)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.12.13 ([0a79e54](https://github.com/tj-actions/changed-files/commit/0a79e54e1f77956a7c39c12ebad4e8f62ce0e6fb)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.1.4 ([9d06a2a](https://github.com/tj-actions/changed-files/commit/9d06a2a6a9aaef4e329865c87541e4fb2c36c7b2)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.11.0 ([7e8e88b](https://github.com/tj-actions/changed-files/commit/7e8e88bd3537fcf190ad772c0a96f30febd0734a)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([b510737](https://github.com/tj-actions/changed-files/commit/b510737b966ce69c576f08abf8206fb222e4d4da)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([2e70979](https://github.com/tj-actions/changed-files/commit/2e7097935335571e0182fd95a8b7607d74248c2a)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.1 ([#2108](https://github.com/tj-actions/changed-files/issues/2108))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([625929d](https://github.com/tj-actions/changed-files/commit/625929d27d5d9362ce949a0dc367bfbaf4689115)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.1](https://github.com/tj-actions/changed-files/compare/v44.5.0...v44.5.1) - (2024-05-24)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Bug detecting previous tag when workflow is rerun ([#2107](https://github.com/tj-actions/changed-files/issues/2107)) ([03334d0](https://github.com/tj-actions/changed-files/commit/03334d095e2739fa9ac4034ec16f66d5d01e9eba)) - (Tonye Jack)
|
||||
- **deps:** Update dependency micromatch to v4.0.7 ([98e187e](https://github.com/tj-actions/changed-files/commit/98e187efcdfa77f01efb485b093a97a21d8281cd)) - (renovate[bot])
|
||||
- **deps:** Update dependency micromatch to v4.0.6 ([bf548e4](https://github.com/tj-actions/changed-files/commit/bf548e4af2ea13d28cd8b89f84d3ec31f27f66dc)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([8a0655f](https://github.com/tj-actions/changed-files/commit/8a0655f075f752a7fcf8fedd1e6b976d8a3d4454)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([96f6572](https://github.com/tj-actions/changed-files/commit/96f65726eae8888afa41617580af5882e4e197f5)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency ts-jest to v29.1.3 ([d195e6e](https://github.com/tj-actions/changed-files/commit/d195e6e7c2774fc8d3941acb2e6be1d38077eb47)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.0 ([#2101](https://github.com/tj-actions/changed-files/issues/2101))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([8b07fd3](https://github.com/tj-actions/changed-files/commit/8b07fd3b111677cb50907731b0af597475af6bec)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.0](https://github.com/tj-actions/changed-files/compare/v44.4.0...v44.5.0) - (2024-05-21)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for providing patterns to match tags ([#2098](https://github.com/tj-actions/changed-files/issues/2098)) ([03c1842](https://github.com/tj-actions/changed-files/commit/03c184259aae3c160b1d7281389e51f97ea02e5e)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#2099](https://github.com/tj-actions/changed-files/issues/2099))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([1754cd4](https://github.com/tj-actions/changed-files/commit/1754cd4b9e661d1f0eced3b33545a8d8b3bc46d8)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update typescript-eslint monorepo to v7.10.0 ([5f01393](https://github.com/tj-actions/changed-files/commit/5f0139347aeb65568e336f0250e84595c04c6c0a)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.4 ([58a9886](https://github.com/tj-actions/changed-files/commit/58a98867a77169ecf0438862d98cc9eb4bfb3511)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.3 ([9216b0c](https://github.com/tj-actions/changed-files/commit/9216b0cec231229441961c892fbdfcda247e6f59)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.12 ([0e3a6c3](https://github.com/tj-actions/changed-files/commit/0e3a6c3e99b91fdd487b056c372f55c0c28e7eaf)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.9.0 ([e86678f](https://github.com/tj-actions/changed-files/commit/e86678fe3aea7af0d378326a830158c186101136)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([35d5a4d](https://github.com/tj-actions/changed-files/commit/35d5a4d79f865a1a8db02b9f6fb4c5cd4b4809ef)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.4.0 ([#2086](https://github.com/tj-actions/changed-files/issues/2086))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([887f936](https://github.com/tj-actions/changed-files/commit/887f93673c5c7e05864f59ff35db2cc632163ce3)) - (tj-actions[bot])
|
||||
|
||||
# [44.4.0](https://github.com/tj-actions/changed-files/compare/v44.3.0...v44.4.0) - (2024-05-08)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Reduce the default fetch_depth from 50 to 25 and increase fetch_missing_history_max_retries ([#2060](https://github.com/tj-actions/changed-files/issues/2060)) ([44ce9f4](https://github.com/tj-actions/changed-files/commit/44ce9f434167298fce8f9edf203176c014d51ed8)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency @octokit/rest to v20.1.1 ([396e5a5](https://github.com/tj-actions/changed-files/commit/396e5a51d5444a68abd0ca86795e40144b22875a)) - (renovate[bot])
|
||||
- **deps:** Update dependency yaml to v2.4.2 ([1c5b7dc](https://github.com/tj-actions/changed-files/commit/1c5b7dc5f490a91e3ffe2a80a32b6ec53fee8627)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([c393672](https://github.com/tj-actions/changed-files/commit/c393672835f5e9934c60b73f14af88cbb3eb9d6d)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([15fa7fb](https://github.com/tj-actions/changed-files/commit/15fa7fb9550e318cd8c7889812750e3baf85741a)) - (GitHub Action)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#2068](https://github.com/tj-actions/changed-files/issues/2068))
|
||||
|
||||
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> ([0c82494](https://github.com/tj-actions/changed-files/commit/0c82494d634648c00ea121dc17d3c790888d84b7)) - (tj-actions[bot])
|
||||
- Updated README.md ([#2061](https://github.com/tj-actions/changed-files/issues/2061))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([cee950d](https://github.com/tj-actions/changed-files/commit/cee950d7423ea9b9e2f1398edb7c203aa8e3b6a8)) - (tj-actions[bot])
|
||||
- Updated README.md ([#2059](https://github.com/tj-actions/changed-files/issues/2059))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([7b65c37](https://github.com/tj-actions/changed-files/commit/7b65c377b1a5352050b3f1765e89e8c1498b7151)) - (tj-actions[bot])
|
||||
- Update action.yml ([532b66a](https://github.com/tj-actions/changed-files/commit/532b66aa5cdd78ac95381a5837593c4e2c1cc689)) - (Tonye Jack)
|
||||
- Updated README.md ([#2057](https://github.com/tj-actions/changed-files/issues/2057))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([461ea4f](https://github.com/tj-actions/changed-files/commit/461ea4f9bf72cc903116a1f7832c259517033c4f)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.12.11 ([a29e8b5](https://github.com/tj-actions/changed-files/commit/a29e8b565651ce417abb5db7164b4a2ad8b6155c)) - (renovate[bot])
|
||||
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.1 ([5a12705](https://github.com/tj-actions/changed-files/commit/5a127050b23a670857f37c398ad95d4258ad2cd9)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.10 ([5819343](https://github.com/tj-actions/changed-files/commit/581934340b529e43033415c4777d68fef0a77728)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.9 ([5587afb](https://github.com/tj-actions/changed-files/commit/5587afbef7d18ac15b8dcb6728b4cef8dd65a3ca)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([0f039f3](https://github.com/tj-actions/changed-files/commit/0f039f361bfe87006120af15e65aca81bbf83a85)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/verify-changed-files action to v20 ([#2079](https://github.com/tj-actions/changed-files/issues/2079)) ([6d4230d](https://github.com/tj-actions/changed-files/commit/6d4230d4f04050b0b2748f51b7e45411c80556fb)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.1 ([1711887](https://github.com/tj-actions/changed-files/commit/1711887607a8b90e5a2c940b679d755bfb77d002)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.5.0 ([47a2d62](https://github.com/tj-actions/changed-files/commit/47a2d62412bf64a49abd7b7679f33b424ceca288)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.4.0 ([c73b12c](https://github.com/tj-actions/changed-files/commit/c73b12cc6d5217a79bf78cf8a07ffc67de3ee4ad)) - (renovate[bot])
|
||||
- **deps-dev:** Bump @types/node from 20.12.7 to 20.12.8 ([#2074](https://github.com/tj-actions/changed-files/issues/2074)) ([41ce994](https://github.com/tj-actions/changed-files/commit/41ce994be96a740b53ae11ecbf86d1619a7bd640)) - (dependabot[bot])
|
||||
- **deps:** Lock file maintenance ([192e174](https://github.com/tj-actions/changed-files/commit/192e174507517360f2917c06114bc29c1b6f87cc)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.8.0 ([5e85e31](https://github.com/tj-actions/changed-files/commit/5e85e31a0187e8df23b438284aa04f21b55f1510)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([7871e84](https://github.com/tj-actions/changed-files/commit/7871e848ad730c5f0f07beb4b552d981666d0113)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/eslint-changed-files action to v25 ([#2069](https://github.com/tj-actions/changed-files/issues/2069)) ([4765b9f](https://github.com/tj-actions/changed-files/commit/4765b9f7755d935bfd5b817fd54c1644a3e353e6)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.3.0 ([7d02310](https://github.com/tj-actions/changed-files/commit/7d02310f6e619682280fc882083625c6fdea15a8)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.0.5 ([0df48f8](https://github.com/tj-actions/changed-files/commit/0df48f84094b1c181560c74c366be7aa482f69f9)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.7.1 ([b76e23c](https://github.com/tj-actions/changed-files/commit/b76e23c88a5fd49bbf61e0ed56e3bf863400619c)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([549c203](https://github.com/tj-actions/changed-files/commit/549c203ec243ad37c57a0aacc725543b643c2c9b)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.3.0 ([#2058](https://github.com/tj-actions/changed-files/issues/2058))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([d9384bb](https://github.com/tj-actions/changed-files/commit/d9384bba72acecf39972b06ec7f323d370f357fb)) - (tj-actions[bot])
|
||||
|
||||
# [44.3.0](https://github.com/tj-actions/changed-files/compare/v44.2.0...v44.3.0) - (2024-04-18)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for returning posix path separator on windows ([#2056](https://github.com/tj-actions/changed-files/issues/2056)) ([0874344](https://github.com/tj-actions/changed-files/commit/0874344d6ebbaa00a27da73276ae7162fadcaf69)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Add a fallback value for the max number for retries to fetch missing history ([#2055](https://github.com/tj-actions/changed-files/issues/2055)) ([9f8300f](https://github.com/tj-actions/changed-files/commit/9f8300f8b45b8ddd3009f170957adfa5db4f3d5d)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.2.0 ([#2054](https://github.com/tj-actions/changed-files/issues/2054))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([a06b9e8](https://github.com/tj-actions/changed-files/commit/a06b9e80ae631cf6747b0ed4362a83f773ffaa40)) - (tj-actions[bot])
|
||||
|
||||
# [44.2.0](https://github.com/tj-actions/changed-files/compare/v44.1.0...v44.2.0) - (2024-04-18)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
278
README.md
278
README.md
@@ -21,7 +21,7 @@ Effortlessly track all changed files and directories relative to a target branch
|
||||
>
|
||||
> * This action solely identifies files that have changed for events such as [`pull_request*`, `push`, `merge_group`, `release`, and many more](#other-supported-events-electron). However, it doesn't detect pending uncommitted changes created during the workflow execution.
|
||||
>
|
||||
> See: https://github.com/tj-actions/verify-changed-files instead
|
||||
> See: https://github.com/tj-actions/verify-changed-files instead.
|
||||
|
||||
## Table of contents
|
||||
|
||||
@@ -335,52 +335,68 @@ Support this project with a :star:
|
||||
# Default: "${{ github.api_url }}"
|
||||
api_url: ''
|
||||
|
||||
# Specify a different base commit SHA or branch used
|
||||
# for comparing changes
|
||||
# Specify a different base commit
|
||||
# SHA or branch used for
|
||||
# comparing changes
|
||||
# Type: string
|
||||
base_sha: ''
|
||||
|
||||
# Exclude changes outside the current directory and show path
|
||||
# names relative to it. NOTE: This requires you to
|
||||
# specify the top-level directory via the `path` input.
|
||||
# Exclude changes outside the current
|
||||
# directory and show path names
|
||||
# relative to it. NOTE: This
|
||||
# requires you to specify the
|
||||
# top-level directory via the `path`
|
||||
# input.
|
||||
# Type: boolean
|
||||
# Default: "true"
|
||||
diff_relative: ''
|
||||
|
||||
# Output unique changed directories instead of filenames. NOTE: This
|
||||
# returns `.` for changed files located in the current
|
||||
# working directory which defaults to `$GITHUB_WORKSPACE`.
|
||||
# Output unique changed directories instead
|
||||
# of filenames. NOTE: This returns
|
||||
# `.` for changed files located
|
||||
# in the current working directory
|
||||
# which defaults to `$GITHUB_WORKSPACE`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
dir_names: ''
|
||||
|
||||
# Include only directories that have been deleted as opposed
|
||||
# to directory names of files that have been deleted
|
||||
# in the `deleted_files` output when `dir_names` is set to
|
||||
# `true`.
|
||||
# Include only directories that have
|
||||
# been deleted as opposed to
|
||||
# directory names of files that
|
||||
# have been deleted in the
|
||||
# `deleted_files` output when `dir_names` is
|
||||
# set to `true`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
dir_names_deleted_files_include_only_deleted_dirs: ''
|
||||
|
||||
# Exclude the current directory represented by `.` from the
|
||||
# output when `dir_names` is set to `true`.
|
||||
# Exclude the current directory represented
|
||||
# by `.` from the output
|
||||
# when `dir_names` is set to
|
||||
# `true`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
dir_names_exclude_current_dir: ''
|
||||
|
||||
# File and directory patterns to include in the output
|
||||
# when `dir_names` is set to `true`. NOTE: This returns
|
||||
# only the matching files and also the directory names.
|
||||
# File and directory patterns to
|
||||
# include in the output when
|
||||
# `dir_names` is set to `true`.
|
||||
# NOTE: This returns only the
|
||||
# matching files and also the
|
||||
# directory names.
|
||||
# Type: string
|
||||
dir_names_include_files: ''
|
||||
|
||||
# Separator used to split the `dir_names_include_files` input
|
||||
# Separator used to split the
|
||||
# `dir_names_include_files` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
dir_names_include_files_separator: ''
|
||||
|
||||
# Limit the directory output to a maximum depth e.g
|
||||
# `test/test1/test2` with max depth of `2` returns `test/test1`.
|
||||
# Limit the directory output to
|
||||
# a maximum depth e.g `test/test1/test2`
|
||||
# with max depth of `2`
|
||||
# returns `test/test1`.
|
||||
# Type: string
|
||||
dir_names_max_depth: ''
|
||||
|
||||
@@ -394,12 +410,14 @@ Support this project with a :star:
|
||||
# Default: "false"
|
||||
exclude_submodules: ''
|
||||
|
||||
# Fail when the initial diff fails.
|
||||
# Fail when the initial diff
|
||||
# fails.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
fail_on_initial_diff_error: ''
|
||||
|
||||
# Fail when the submodule diff fails.
|
||||
# Fail when the submodule diff
|
||||
# fails.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
fail_on_submodule_diff_error: ''
|
||||
@@ -409,117 +427,140 @@ Support this project with a :star:
|
||||
# Default: "false"
|
||||
fetch_additional_submodule_history: ''
|
||||
|
||||
# Depth of additional branch history fetched. NOTE: This can
|
||||
# be adjusted to resolve errors with insufficient history.
|
||||
# Depth of additional branch history
|
||||
# fetched. NOTE: This can be
|
||||
# adjusted to resolve errors with
|
||||
# insufficient history.
|
||||
# Type: string
|
||||
# Default: "50"
|
||||
# Default: "25"
|
||||
fetch_depth: ''
|
||||
|
||||
# Maximum number of retries to fetch missing history.
|
||||
# Maximum number of retries to
|
||||
# fetch missing history.
|
||||
# Type: string
|
||||
# Default: "10"
|
||||
# Default: "20"
|
||||
fetch_missing_history_max_retries: ''
|
||||
|
||||
# File and directory patterns used to detect changes (Defaults to the entire repo if unset).
|
||||
# NOTE: Multiline file/directory patterns should not include quotes.
|
||||
# File and directory patterns used
|
||||
# to detect changes (Defaults to the entire repo if unset). NOTE:
|
||||
# Multiline file/directory patterns should not
|
||||
# include quotes.
|
||||
# Type: string
|
||||
files: ''
|
||||
|
||||
# Source file(s) used to populate the `files` input.
|
||||
# Source file(s) used to populate
|
||||
# the `files` input.
|
||||
# Type: string
|
||||
files_from_source_file: ''
|
||||
|
||||
# Separator used to split the `files_from_source_file` input.
|
||||
# Separator used to split the
|
||||
# `files_from_source_file` input.
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_from_source_file_separator: ''
|
||||
|
||||
# Ignore changes to these file(s). NOTE: Multiline file/directory patterns
|
||||
# should not include quotes.
|
||||
# Ignore changes to these file(s).
|
||||
# NOTE: Multiline file/directory patterns should
|
||||
# not include quotes.
|
||||
# Type: string
|
||||
files_ignore: ''
|
||||
|
||||
# Source file(s) used to populate the `files_ignore` input
|
||||
# Source file(s) used to populate
|
||||
# the `files_ignore` input
|
||||
# Type: string
|
||||
files_ignore_from_source_file: ''
|
||||
|
||||
# Separator used to split the `files_ignore_from_source_file` input
|
||||
# Separator used to split the
|
||||
# `files_ignore_from_source_file` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_ignore_from_source_file_separator: ''
|
||||
|
||||
# Separator used to split the `files_ignore` input
|
||||
# Separator used to split the
|
||||
# `files_ignore` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_ignore_separator: ''
|
||||
|
||||
# YAML used to define a set of file patterns
|
||||
# to ignore changes
|
||||
# YAML used to define a
|
||||
# set of file patterns to
|
||||
# ignore changes
|
||||
# Type: string
|
||||
files_ignore_yaml: ''
|
||||
|
||||
# Source file(s) used to populate the `files_ignore_yaml` input. Example:
|
||||
# https://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml
|
||||
# Source file(s) used to populate
|
||||
# the `files_ignore_yaml` input. Example: https://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml
|
||||
# Type: string
|
||||
files_ignore_yaml_from_source_file: ''
|
||||
|
||||
# Separator used to split the `files_ignore_yaml_from_source_file` input
|
||||
# Separator used to split the
|
||||
# `files_ignore_yaml_from_source_file` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_ignore_yaml_from_source_file_separator: ''
|
||||
|
||||
# Separator used to split the `files` input
|
||||
# Separator used to split the
|
||||
# `files` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_separator: ''
|
||||
|
||||
# YAML used to define a set of file patterns
|
||||
# to detect changes
|
||||
# YAML used to define a
|
||||
# set of file patterns to
|
||||
# detect changes
|
||||
# Type: string
|
||||
files_yaml: ''
|
||||
|
||||
# Source file(s) used to populate the `files_yaml` input. Example:
|
||||
# https://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml
|
||||
# Source file(s) used to populate
|
||||
# the `files_yaml` input. Example: https://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml
|
||||
# Type: string
|
||||
files_yaml_from_source_file: ''
|
||||
|
||||
# Separator used to split the `files_yaml_from_source_file` input
|
||||
# Separator used to split the
|
||||
# `files_yaml_from_source_file` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
files_yaml_from_source_file_separator: ''
|
||||
|
||||
# Include `all_old_new_renamed_files` output. Note this can generate a large
|
||||
# output See: #501.
|
||||
# Include `all_old_new_renamed_files` output. Note this
|
||||
# can generate a large output
|
||||
# See: #501.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
include_all_old_new_renamed_files: ''
|
||||
|
||||
# Output list of changed files in a JSON formatted
|
||||
# string which can be used for matrix jobs. Example:
|
||||
# https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml
|
||||
# Output list of changed files
|
||||
# in a JSON formatted string
|
||||
# which can be used for
|
||||
# matrix jobs. Example: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
json: ''
|
||||
|
||||
# Output changed files in a format that can be
|
||||
# used for matrix jobs. Alias for setting inputs `json`
|
||||
# to `true` and `escape_json` to `false`.
|
||||
# Output changed files in a
|
||||
# format that can be used
|
||||
# for matrix jobs. Alias for
|
||||
# setting inputs `json` to `true`
|
||||
# and `escape_json` to `false`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
matrix: ''
|
||||
|
||||
# Apply the negation patterns first. NOTE: This affects how
|
||||
# changed files are matched.
|
||||
# Apply the negation patterns first.
|
||||
# NOTE: This affects how changed
|
||||
# files are matched.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
negation_patterns_first: ''
|
||||
|
||||
# Split character for old and new renamed filename pairs.
|
||||
# Split character for old and
|
||||
# new renamed filename pairs.
|
||||
# Type: string
|
||||
# Default: " "
|
||||
old_new_files_separator: ''
|
||||
|
||||
# Split character for old and new filename pairs.
|
||||
# Split character for old and
|
||||
# new filename pairs.
|
||||
# Type: string
|
||||
# Default: ","
|
||||
old_new_separator: ''
|
||||
@@ -529,19 +570,22 @@ Support this project with a :star:
|
||||
# Default: ".github/outputs"
|
||||
output_dir: ''
|
||||
|
||||
# Output renamed files as deleted and added files.
|
||||
# Output renamed files as deleted
|
||||
# and added files.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
output_renamed_files_as_deleted_and_added: ''
|
||||
|
||||
# Specify a relative path under `$GITHUB_WORKSPACE` to locate the
|
||||
# repository.
|
||||
# Specify a relative path under
|
||||
# `$GITHUB_WORKSPACE` to locate the repository.
|
||||
# Type: string
|
||||
# Default: "."
|
||||
path: ''
|
||||
|
||||
# Use non-ASCII characters to match files and output the
|
||||
# filenames completely verbatim by setting this to `false`
|
||||
# Use non-ASCII characters to match
|
||||
# files and output the filenames
|
||||
# completely verbatim by setting this
|
||||
# to `false`
|
||||
# Type: boolean
|
||||
# Default: "true"
|
||||
quotepath: ''
|
||||
@@ -551,35 +595,41 @@ Support this project with a :star:
|
||||
# Default: "false"
|
||||
recover_deleted_files: ''
|
||||
|
||||
# Recover deleted files to a new destination directory, defaults
|
||||
# to the original location.
|
||||
# Recover deleted files to a
|
||||
# new destination directory, defaults to
|
||||
# the original location.
|
||||
# Type: string
|
||||
recover_deleted_files_to_destination: ''
|
||||
|
||||
# File and directory patterns used to recover deleted files,
|
||||
# defaults to the patterns provided via the `files`, `files_from_source_file`,
|
||||
# `files_ignore` and `files_ignore_from_source_file` inputs or all deleted files if
|
||||
# no patterns are provided.
|
||||
# File and directory patterns used
|
||||
# to recover deleted files, defaults
|
||||
# to the patterns provided via
|
||||
# the `files`, `files_from_source_file`, `files_ignore` and
|
||||
# `files_ignore_from_source_file` inputs or all deleted
|
||||
# files if no patterns are
|
||||
# provided.
|
||||
# Type: string
|
||||
recover_files: ''
|
||||
|
||||
# File and directory patterns to ignore when recovering deleted
|
||||
# files.
|
||||
# File and directory patterns to
|
||||
# ignore when recovering deleted files.
|
||||
# Type: string
|
||||
recover_files_ignore: ''
|
||||
|
||||
# Separator used to split the `recover_files_ignore` input
|
||||
# Separator used to split the
|
||||
# `recover_files_ignore` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
recover_files_ignore_separator: ''
|
||||
|
||||
# Separator used to split the `recover_files` input
|
||||
# Separator used to split the
|
||||
# `recover_files` input
|
||||
# Type: string
|
||||
# Default: "\n"
|
||||
recover_files_separator: ''
|
||||
|
||||
# Apply sanitization to output filenames before being set as
|
||||
# output.
|
||||
# Apply sanitization to output filenames
|
||||
# before being set as output.
|
||||
# Type: boolean
|
||||
# Default: "true"
|
||||
safe_output: ''
|
||||
@@ -589,53 +639,83 @@ Support this project with a :star:
|
||||
# Default: " "
|
||||
separator: ''
|
||||
|
||||
# Specify a different commit SHA or branch used for
|
||||
# comparing changes
|
||||
# Specify a different commit SHA
|
||||
# or branch used for comparing
|
||||
# changes
|
||||
# Type: string
|
||||
sha: ''
|
||||
|
||||
# Get changed files for commits whose timestamp is older
|
||||
# than the given time.
|
||||
# Get changed files for commits
|
||||
# whose timestamp is older than
|
||||
# the given time.
|
||||
# Type: string
|
||||
since: ''
|
||||
|
||||
# Use the last commit on the remote branch as
|
||||
# the `base_sha`. Defaults to the last non-merge commit on
|
||||
# the target branch for pull request events and the
|
||||
# previous remote commit of the current branch for push
|
||||
# events.
|
||||
# Use the last commit on
|
||||
# the remote branch as the
|
||||
# `base_sha`. Defaults to the last
|
||||
# non-merge commit on the target
|
||||
# branch for pull request events
|
||||
# and the previous remote commit
|
||||
# of the current branch for
|
||||
# push events.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
since_last_remote_commit: ''
|
||||
|
||||
# Skip initially fetching additional history to improve performance for
|
||||
# shallow repositories. NOTE: This could lead to errors with
|
||||
# missing history. It's intended to be used when you've
|
||||
# fetched all necessary history to perform the diff.
|
||||
# Skip initially fetching additional history
|
||||
# to improve performance for shallow
|
||||
# repositories. NOTE: This could lead
|
||||
# to errors with missing history.
|
||||
# It's intended to be used
|
||||
# when you've fetched all necessary
|
||||
# history to perform the diff.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
skip_initial_fetch: ''
|
||||
|
||||
# GitHub token used to fetch changed files from Github's
|
||||
# API.
|
||||
# Tags pattern to ignore.
|
||||
# Type: string
|
||||
tags_ignore_pattern: ''
|
||||
|
||||
# Tags pattern to include.
|
||||
# Type: string
|
||||
# Default: "*"
|
||||
tags_pattern: ''
|
||||
|
||||
# GitHub token used to fetch
|
||||
# changed files from Github's API.
|
||||
# Type: string
|
||||
# Default: "${{ github.token }}"
|
||||
token: ''
|
||||
|
||||
# Get changed files for commits whose timestamp is earlier
|
||||
# than the given time.
|
||||
# Get changed files for commits
|
||||
# whose timestamp is earlier than
|
||||
# the given time.
|
||||
# Type: string
|
||||
until: ''
|
||||
|
||||
# Force the use of Github's REST API even when
|
||||
# a local copy of the repository exists
|
||||
# Use POSIX path separator `/`
|
||||
# for output file paths on
|
||||
# Windows.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
use_posix_path_separator: ''
|
||||
|
||||
# Force the use of Github's
|
||||
# REST API even when a
|
||||
# local copy of the repository
|
||||
# exists
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
use_rest_api: ''
|
||||
|
||||
# Write outputs to the `output_dir` defaults to `.github/outputs` folder.
|
||||
# NOTE: This creates a `.txt` file by default and
|
||||
# a `.json` file if `json` is set to `true`.
|
||||
# Write outputs to the `output_dir`
|
||||
# defaults to `.github/outputs` folder. NOTE:
|
||||
# This creates a `.txt` file
|
||||
# by default and a `.json`
|
||||
# file if `json` is set
|
||||
# to `true`.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
write_output_files: ''
|
||||
|
||||
15
action.yml
15
action.yml
@@ -141,7 +141,7 @@ inputs:
|
||||
fetch_depth:
|
||||
description: "Depth of additional branch history fetched. NOTE: This can be adjusted to resolve errors with insufficient history."
|
||||
required: false
|
||||
default: "50"
|
||||
default: "25"
|
||||
skip_initial_fetch:
|
||||
description: |
|
||||
Skip initially fetching additional history to improve performance for shallow repositories.
|
||||
@@ -230,11 +230,20 @@ inputs:
|
||||
fetch_missing_history_max_retries:
|
||||
description: "Maximum number of retries to fetch missing history."
|
||||
required: false
|
||||
default: "10"
|
||||
default: "20"
|
||||
use_posix_path_separator:
|
||||
description: "Use POSIX path separator `/` for output filenames."
|
||||
description: "Use POSIX path separator `/` for output file paths on Windows."
|
||||
required: false
|
||||
default: "false"
|
||||
tags_pattern:
|
||||
description: "Tags pattern to include."
|
||||
required: false
|
||||
default: "*"
|
||||
tags_ignore_pattern:
|
||||
description: "Tags pattern to ignore."
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
|
||||
outputs:
|
||||
added_files:
|
||||
|
||||
4186
dist/index.js
generated
vendored
4186
dist/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/licenses.txt
generated
vendored
2
dist/licenses.txt
generated
vendored
@@ -5723,7 +5723,7 @@ braces
|
||||
MIT
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2018, Jon Schlinkert.
|
||||
Copyright (c) 2014-present, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tj-actions/changed-files",
|
||||
"version": "44.2.0",
|
||||
"version": "44.5.3",
|
||||
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
|
||||
"main": "lib/main.js",
|
||||
"publishConfig": {
|
||||
@@ -36,7 +36,7 @@
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/exec": "^1.1.1",
|
||||
"@actions/github": "^6.0.0",
|
||||
"@octokit/rest": "^20.0.1",
|
||||
"@octokit/rest": "^21.0.0",
|
||||
"@stdlib/utils-convert-path": "^0.2.1",
|
||||
"lodash": "^4.17.21",
|
||||
"micromatch": "^4.0.5",
|
||||
@@ -47,13 +47,13 @@
|
||||
"@types/lodash": "^4.14.195",
|
||||
"@types/micromatch": "^4.0.2",
|
||||
"@types/node": "^20.3.2",
|
||||
"@types/uuid": "^9.0.2",
|
||||
"@types/uuid": "^10.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
||||
"@typescript-eslint/parser": "^7.0.0",
|
||||
"@vercel/ncc": "^0.38.0",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-plugin-github": "^4.8.0",
|
||||
"eslint-plugin-github": "^5.0.0",
|
||||
"eslint-plugin-jest": "^28.0.0",
|
||||
"eslint-plugin-prettier": "^5.0.0-alpha.2",
|
||||
"jest": "^29.5.0",
|
||||
|
||||
@@ -15,7 +15,7 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
|
||||
"failOnInitialDiffError": "false",
|
||||
"failOnSubmoduleDiffError": "false",
|
||||
"fetchAdditionalSubmoduleHistory": "false",
|
||||
"fetchMissingHistoryMaxRetries": 10,
|
||||
"fetchMissingHistoryMaxRetries": 20,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
@@ -53,6 +53,8 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": "false",
|
||||
"skipInitialFetch": "true",
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "*",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": "false",
|
||||
@@ -113,6 +115,8 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
@@ -171,6 +175,8 @@ exports[`getInputs should correctly parse string inputs 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "token",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
@@ -231,6 +237,8 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
@@ -291,6 +299,8 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
@@ -314,7 +324,7 @@ exports[`getInputs should return default values when no inputs are provided 1`]
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"fetchMissingHistoryMaxRetries": 10,
|
||||
"fetchMissingHistoryMaxRetries": 20,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
@@ -352,6 +362,8 @@ exports[`getInputs should return default values when no inputs are provided 1`]
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "*",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import * as core from '@actions/core'
|
||||
import * as exec from '@actions/exec'
|
||||
import {ChangeTypeEnum} from '../changedFiles'
|
||||
import {Inputs} from '../inputs'
|
||||
import {
|
||||
getDirname,
|
||||
getDirnameMaxDepth,
|
||||
getFilteredChangedFiles,
|
||||
getPreviousGitTag,
|
||||
normalizeSeparators,
|
||||
warnUnsupportedRESTAPIInputs
|
||||
} from '../utils'
|
||||
@@ -637,8 +639,10 @@ describe('utils test', () => {
|
||||
negationPatternsFirst: false,
|
||||
useRestApi: false,
|
||||
excludeSubmodules: false,
|
||||
fetchMissingHistoryMaxRetries: 10,
|
||||
usePosixPathSeparator: false
|
||||
fetchMissingHistoryMaxRetries: 20,
|
||||
usePosixPathSeparator: false,
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: ''
|
||||
}
|
||||
|
||||
const coreWarningSpy = jest.spyOn(core, 'warning')
|
||||
@@ -654,4 +658,95 @@ describe('utils test', () => {
|
||||
expect(coreWarningSpy).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
})
|
||||
describe('getPreviousGitTag', () => {
|
||||
// Function returns the second-latest tag and its SHA
|
||||
it('should return the second latest tag and its SHA when multiple tags are present', async () => {
|
||||
const result = await getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: '',
|
||||
currentBranch: 'v1.0.1'
|
||||
})
|
||||
expect(result).toEqual({
|
||||
tag: 'v1.0.0',
|
||||
sha: 'f0751de6af436d4e79016e2041cf6400e0833653'
|
||||
})
|
||||
})
|
||||
|
||||
// Tags are filtered by a specified pattern when 'tagsPattern' is provided
|
||||
it('should filter tags by the specified pattern', async () => {
|
||||
const result = await getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: 'v1.*',
|
||||
tagsIgnorePattern: '',
|
||||
currentBranch: 'v1.0.1'
|
||||
})
|
||||
expect(result).toEqual({
|
||||
tag: 'v1.0.0',
|
||||
sha: 'f0751de6af436d4e79016e2041cf6400e0833653'
|
||||
})
|
||||
})
|
||||
|
||||
// Tags are excluded by a specified ignore pattern when 'tagsIgnorePattern' is provided
|
||||
it('should exclude tags by the specified ignore pattern', async () => {
|
||||
const result = await getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: 'v0.*.*',
|
||||
currentBranch: 'v1.0.1'
|
||||
})
|
||||
expect(result).toEqual({
|
||||
tag: 'v1.0.0',
|
||||
sha: 'f0751de6af436d4e79016e2041cf6400e0833653'
|
||||
})
|
||||
})
|
||||
|
||||
// No tags are available in the repository
|
||||
it('should return empty values when no tags are available in the repository', async () => {
|
||||
jest.spyOn(exec, 'getExecOutput').mockResolvedValueOnce({
|
||||
stdout: '',
|
||||
stderr: '',
|
||||
exitCode: 0
|
||||
})
|
||||
const result = await getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: '',
|
||||
currentBranch: ''
|
||||
})
|
||||
expect(result).toEqual({tag: '', sha: ''})
|
||||
})
|
||||
|
||||
// Only one tag is available, making it impossible to find a previous tag
|
||||
it('should return empty values when only one tag is available', async () => {
|
||||
jest.spyOn(exec, 'getExecOutput').mockResolvedValueOnce({
|
||||
stdout:
|
||||
'v1.0.1|f0751de6af436d4e79016e2041cf6400e0833653|2021-01-01T00:00:00Z',
|
||||
stderr: '',
|
||||
exitCode: 0
|
||||
})
|
||||
const result = await getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: '',
|
||||
currentBranch: 'v1.0.1'
|
||||
})
|
||||
expect(result).toEqual({tag: '', sha: ''})
|
||||
})
|
||||
|
||||
// Git commands fail and throw errors
|
||||
it('should throw an error when git commands fail', async () => {
|
||||
jest
|
||||
.spyOn(exec, 'getExecOutput')
|
||||
.mockRejectedValue(new Error('git command failed'))
|
||||
await expect(
|
||||
getPreviousGitTag({
|
||||
cwd: '.',
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: '',
|
||||
currentBranch: 'v1.0.1'
|
||||
})
|
||||
).rejects.toThrow('git command failed')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -240,7 +240,12 @@ export const getSHAForNonPullRequestEvent = async ({
|
||||
}
|
||||
} else if (isTag) {
|
||||
core.debug('Getting previous SHA for tag...')
|
||||
const {sha, tag} = await getPreviousGitTag({cwd: workingDirectory})
|
||||
const {sha, tag} = await getPreviousGitTag({
|
||||
cwd: workingDirectory,
|
||||
tagsPattern: inputs.tagsPattern,
|
||||
tagsIgnorePattern: inputs.tagsIgnorePattern,
|
||||
currentBranch
|
||||
})
|
||||
previousSha = sha
|
||||
targetBranch = tag
|
||||
} else {
|
||||
@@ -375,32 +380,29 @@ export const getSHAForPullRequestEvent = async ({
|
||||
'Failed to fetch pull request branch. Please ensure "persist-credentials" is set to "true" when checking out the repository. See: https://github.com/actions/checkout#usage'
|
||||
)
|
||||
}
|
||||
core.debug('Fetching target branch...')
|
||||
await gitFetch({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
...gitFetchExtraArgs,
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
remoteName,
|
||||
`+refs/heads/${github.context.payload.pull_request?.base?.ref}:refs/remotes/${remoteName}/${github.context.payload.pull_request?.base?.ref}`
|
||||
]
|
||||
})
|
||||
|
||||
if (!inputs.sinceLastRemoteCommit) {
|
||||
core.debug('Fetching target branch...')
|
||||
await gitFetch({
|
||||
if (diffSubmodule) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
...gitFetchExtraArgs,
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
remoteName,
|
||||
`+refs/heads/${targetBranch}:refs/remotes/${remoteName}/${targetBranch}`
|
||||
`--deepen=${inputs.fetchDepth}`
|
||||
]
|
||||
})
|
||||
|
||||
if (diffSubmodule) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
...gitFetchExtraArgs,
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (diffSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
|
||||
@@ -22,6 +22,8 @@ export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
|
||||
fetchAdditionalSubmoduleHistory: false,
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
|
||||
excludeSubmodules: false,
|
||||
fetchMissingHistoryMaxRetries: 10,
|
||||
usePosixPathSeparator: false
|
||||
fetchMissingHistoryMaxRetries: 20,
|
||||
usePosixPathSeparator: false,
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: ''
|
||||
}
|
||||
|
||||
@@ -57,6 +57,8 @@ export type Inputs = {
|
||||
excludeSubmodules: boolean
|
||||
fetchMissingHistoryMaxRetries?: number
|
||||
usePosixPathSeparator: boolean
|
||||
tagsPattern: string
|
||||
tagsIgnorePattern?: string
|
||||
}
|
||||
|
||||
export const getInputs = (): Inputs => {
|
||||
@@ -259,6 +261,15 @@ export const getInputs = (): Inputs => {
|
||||
}
|
||||
)
|
||||
|
||||
const tagsPattern = core.getInput('tags_pattern', {
|
||||
required: false,
|
||||
trimWhitespace: false
|
||||
})
|
||||
const tagsIgnorePattern = core.getInput('tags_ignore_pattern', {
|
||||
required: false,
|
||||
trimWhitespace: false
|
||||
})
|
||||
|
||||
const inputs: Inputs = {
|
||||
files,
|
||||
filesSeparator,
|
||||
@@ -300,6 +311,8 @@ export const getInputs = (): Inputs => {
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs,
|
||||
excludeSubmodules,
|
||||
usePosixPathSeparator,
|
||||
tagsPattern,
|
||||
tagsIgnorePattern,
|
||||
// End Not Supported via REST API
|
||||
dirNames,
|
||||
dirNamesExcludeCurrentDir,
|
||||
|
||||
75
src/utils.ts
75
src/utils.ts
@@ -831,41 +831,80 @@ export const cleanShaInput = async ({
|
||||
|
||||
return stdout.trim()
|
||||
}
|
||||
|
||||
export const getPreviousGitTag = async ({
|
||||
cwd
|
||||
cwd,
|
||||
tagsPattern,
|
||||
currentBranch,
|
||||
tagsIgnorePattern
|
||||
}: {
|
||||
cwd: string
|
||||
tagsPattern: string
|
||||
currentBranch: string
|
||||
tagsIgnorePattern?: string
|
||||
}): Promise<{tag: string; sha: string}> => {
|
||||
const ignorePatterns: string[] = []
|
||||
let currentShaDate: Date | null = null
|
||||
|
||||
const {stdout} = await exec.getExecOutput(
|
||||
'git',
|
||||
['tag', '--sort=-creatordate'],
|
||||
[
|
||||
'tag',
|
||||
'--sort=-creatordate',
|
||||
'--format=%(refname:short)|%(objectname)|%(creatordate:iso)'
|
||||
],
|
||||
{
|
||||
cwd,
|
||||
silent: !core.isDebug()
|
||||
}
|
||||
)
|
||||
|
||||
const tags = stdout.trim().split('\n')
|
||||
|
||||
if (tags.length < 2) {
|
||||
core.warning('No previous tag found')
|
||||
return {tag: '', sha: ''}
|
||||
if (tagsIgnorePattern) {
|
||||
ignorePatterns.push(tagsIgnorePattern)
|
||||
}
|
||||
|
||||
const previousTag = tags[1]
|
||||
|
||||
const {stdout: stdout2} = await exec.getExecOutput(
|
||||
'git',
|
||||
['rev-parse', previousTag],
|
||||
{
|
||||
cwd,
|
||||
silent: !core.isDebug()
|
||||
if (currentBranch) {
|
||||
ignorePatterns.push(currentBranch)
|
||||
try {
|
||||
const {stdout: currentShaDateOutput} = await exec.getExecOutput(
|
||||
'git',
|
||||
['show', '-s', '--format=%ai', currentBranch],
|
||||
{
|
||||
cwd,
|
||||
silent: !core.isDebug()
|
||||
}
|
||||
)
|
||||
currentShaDate = new Date(currentShaDateOutput.trim())
|
||||
} catch (error) {
|
||||
// Handle the case where the current branch doesn't exist
|
||||
// This might happen in detached head state
|
||||
core.warning(`Failed to get date for current branch ${currentBranch}`)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
const sha = stdout2.trim()
|
||||
const previousTag: {tag: string; sha: string} = {tag: '', sha: ''}
|
||||
|
||||
return {tag: previousTag, sha}
|
||||
const tags = stdout.trim().split('\n')
|
||||
for (const tagData of tags) {
|
||||
const [tag, sha, dateString] = tagData.split('|')
|
||||
if (!mm.isMatch(tag, tagsPattern) || mm.isMatch(tag, ignorePatterns)) {
|
||||
continue
|
||||
}
|
||||
const date = new Date(dateString)
|
||||
if (currentShaDate && date >= currentShaDate) {
|
||||
continue
|
||||
}
|
||||
// Found a suitable tag, no need to continue
|
||||
previousTag.tag = tag
|
||||
previousTag.sha = sha
|
||||
break
|
||||
}
|
||||
|
||||
if (!previousTag.tag) {
|
||||
core.warning('No previous tag found')
|
||||
}
|
||||
|
||||
return previousTag
|
||||
}
|
||||
|
||||
export const canDiffCommits = async ({
|
||||
|
||||
Reference in New Issue
Block a user