Compare commits
90 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
05f0aba931 | ||
![]() |
462396174f | ||
![]() |
c19a7eb771 | ||
![]() |
c288441a7d | ||
![]() |
1d6ea46cac | ||
![]() |
02b41f5ff9 | ||
![]() |
b4a4dcabce | ||
![]() |
602aacf949 | ||
![]() |
51290e039a | ||
![]() |
b4badd8cce | ||
![]() |
652b4c06e8 | ||
![]() |
0b7a421316 | ||
![]() |
b26581aca1 | ||
![]() |
43e6b45c5d | ||
![]() |
fe1bc0e3d3 | ||
![]() |
d7917c6584 | ||
![]() |
3f646a3549 | ||
![]() |
6809677b7a | ||
![]() |
4edd678ac3 | ||
![]() |
f08255874b | ||
![]() |
92c02a00a1 | ||
![]() |
b70221184d | ||
![]() |
435fd74b2e | ||
![]() |
0626fa3ff3 | ||
![]() |
8817a797cb | ||
![]() |
54174910be | ||
![]() |
84ef162530 | ||
![]() |
b672a5115a | ||
![]() |
678cdc2808 | ||
![]() |
27b7bbb0ae | ||
![]() |
83610723bb | ||
![]() |
21acf46f4a | ||
![]() |
f356b3c86b | ||
![]() |
66275de060 | ||
![]() |
a16702bf7a | ||
![]() |
aa11897ec4 | ||
![]() |
6513fe1691 | ||
![]() |
45e0c78ac7 | ||
![]() |
a949a8338c | ||
![]() |
1f772e919b | ||
![]() |
684c5e6d94 | ||
![]() |
9d7201ded6 | ||
![]() |
f93ff33629 | ||
![]() |
729c70475c | ||
![]() |
2009d446ac | ||
![]() |
b693fc207f | ||
![]() |
0104c75ccc | ||
![]() |
4d0aab94b6 | ||
![]() |
df3e9932c4 | ||
![]() |
c3a1bb2c99 | ||
![]() |
27843f1667 | ||
![]() |
36d5b9dda5 | ||
![]() |
9d4f8fea58 | ||
![]() |
d0cf1645b7 | ||
![]() |
641e22af4a | ||
![]() |
8a4a9757b7 | ||
![]() |
6bfa9e7a9a | ||
![]() |
625dbd682e | ||
![]() |
1a71128b6a | ||
![]() |
c29c1d3dd0 | ||
![]() |
e753fb0a63 | ||
![]() |
e21f1a3077 | ||
![]() |
792230fced | ||
![]() |
4dbe54f96e | ||
![]() |
537f1c6318 | ||
![]() |
82587d8858 | ||
![]() |
eda64a62bd | ||
![]() |
4d5444c2c3 | ||
![]() |
c2e104be2f | ||
![]() |
eed685a419 | ||
![]() |
6f538bb83f | ||
![]() |
48d8f15b2a | ||
![]() |
f4e06529f1 | ||
![]() |
9b5f7d7ff5 | ||
![]() |
80dc58425e | ||
![]() |
f9216b6d97 | ||
![]() |
fef272dc40 | ||
![]() |
a236bf57ea | ||
![]() |
0cb58dec12 | ||
![]() |
44f3356296 | ||
![]() |
1d9fdda44c | ||
![]() |
ca746c1dbe | ||
![]() |
2414c5b001 | ||
![]() |
e73bb10d96 | ||
![]() |
c7114f61a1 | ||
![]() |
38cc85fd79 | ||
![]() |
834406f361 | ||
![]() |
5d8e41f17c | ||
![]() |
a78c1f5db4 | ||
![]() |
5977012387 |
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.1.0
|
||||
uses: peter-evans/create-pull-request@v7.0.5
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
|
||||
- name: Use Node.js 20.x
|
||||
uses: actions/setup-node@v4.0.3
|
||||
uses: actions/setup-node@v4.1.0
|
||||
with:
|
||||
cache: 'yarn'
|
||||
node-version: '20.x'
|
||||
@ -65,6 +65,7 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
config_path: ".eslintrc.json"
|
||||
ignore_path: ".eslintignore"
|
||||
|
||||
- name: Run build and test
|
||||
run: |
|
||||
@ -74,6 +75,7 @@ jobs:
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
id: changed_files
|
||||
with:
|
||||
files: |
|
||||
@ -758,6 +760,24 @@ jobs:
|
||||
shell:
|
||||
bash
|
||||
|
||||
- name: Run changed-files with files_yaml, files_ignore_yaml
|
||||
id: changed-files-ignore
|
||||
uses: ./
|
||||
with:
|
||||
files_yaml: |
|
||||
test:
|
||||
- test/**.txt
|
||||
- test/**.md
|
||||
files_ignore_yaml: |
|
||||
test:
|
||||
- test/test.txt
|
||||
|
||||
- name: Show output
|
||||
run: |
|
||||
echo "${{ toJSON(steps.changed-files-ignore.outputs) }}"
|
||||
shell:
|
||||
bash
|
||||
|
||||
- name: Run changed-files with files_yaml, json and write_output_files
|
||||
id: changed-files-json-write-output-files
|
||||
uses: ./
|
||||
@ -1119,9 +1139,9 @@ jobs:
|
||||
since_last_remote_commit: true
|
||||
|
||||
- name: Verify succeeded pull_request(closed)
|
||||
if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
|
||||
if: steps.changed-files-since-last-remote-commit.outcome != 'success' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
|
||||
run: |
|
||||
echo "Expected: (failure) got ${{ steps.changed-files-since-last-remote-commit.outcome }}"
|
||||
echo "Expected: (success) got ${{ steps.changed-files-since-last-remote-commit.outcome }}"
|
||||
exit 1
|
||||
|
||||
- name: Verify succeeded
|
||||
|
2
.github/workflows/update-readme.yml
vendored
2
.github/workflows/update-readme.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Create Pull Request
|
||||
if: failure()
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
162
HISTORY.md
162
HISTORY.md
@ -1,5 +1,167 @@
|
||||
# Changelog
|
||||
|
||||
# [45.0.4](https://github.com/tj-actions/changed-files/compare/v45.0.3...v45.0.4) - (2024-11-05)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Prevent ignore files warning ([#2318](https://github.com/tj-actions/changed-files/issues/2318)) ([1f772e9](https://github.com/tj-actions/changed-files/commit/1f772e919bcbf025d221836bc4b8e3b72e2ef117)) - (Tonye Jack)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency @actions/core to v1.11.1 ([4d0aab9](https://github.com/tj-actions/changed-files/commit/4d0aab94b6284beb85e6cc3dd23ec0ee523dcca6)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([9d7201d](https://github.com/tj-actions/changed-files/commit/9d7201ded6d75401ce2b888a4f643a921bfb8604)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([0104c75](https://github.com/tj-actions/changed-files/commit/0104c75ccc49741ff97b817da4cd36887e0c13cd)) - (GitHub Action)
|
||||
|
||||
## <!-- 30 -->📝 Other
|
||||
|
||||
- Step for dependabot PRs ([#2317](https://github.com/tj-actions/changed-files/issues/2317)) ([684c5e6](https://github.com/tj-actions/changed-files/commit/684c5e6d941e3591a9de8182da044dd242dc17c9)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.9.0 ([4edd678](https://github.com/tj-actions/changed-files/commit/4edd678ac3f81e2dc578756871e4d00c19191daf)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.9.0 ([f082558](https://github.com/tj-actions/changed-files/commit/f08255874b882608b0d7f6dde476c5756dbfc08c)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([92c02a0](https://github.com/tj-actions/changed-files/commit/92c02a00a1b05d13ef79d053e8e8e4aafc1431cd)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.7 ([b702211](https://github.com/tj-actions/changed-files/commit/b70221184d8c03f985dc253d1a84169c4b530010)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.6 ([435fd74](https://github.com/tj-actions/changed-files/commit/435fd74b2ec5d115590c1a20ba1101bf9a291563)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.5 ([0626fa3](https://github.com/tj-actions/changed-files/commit/0626fa3ff3e2030febaa380334fab666814bd24f)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.13 ([8817a79](https://github.com/tj-actions/changed-files/commit/8817a797cbad83643006b4fafc757bb72a50bd51)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.4 ([5417491](https://github.com/tj-actions/changed-files/commit/54174910beb91e8c0eb59a8449720659f72bf24b)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.2 ([84ef162](https://github.com/tj-actions/changed-files/commit/84ef16253002b9f411c38d53e45521709f43247e)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([b672a51](https://github.com/tj-actions/changed-files/commit/b672a5115a5ab8c2b27838329a827d3ffda1202c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.1 ([678cdc2](https://github.com/tj-actions/changed-files/commit/678cdc28086f7f6f8762a1934db3e94e7c0cadb4)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.8.0 ([27b7bbb](https://github.com/tj-actions/changed-files/commit/27b7bbb0aeabaa9258fe4bfd52318bbbb9bdbc9c)) - (renovate[bot])
|
||||
- **deps:** Update actions/setup-node action to v4.1.0 ([8361072](https://github.com/tj-actions/changed-files/commit/83610723bb32196f24d5880eca9cd59951b17c69)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.9 ([21acf46](https://github.com/tj-actions/changed-files/commit/21acf46f4af54c16f04ec314f1929b73692c4441)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/jest to v29.5.14 ([f356b3c](https://github.com/tj-actions/changed-files/commit/f356b3c86b5e3dbe272d6579b57cb7344f3e8ea3)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.8 ([66275de](https://github.com/tj-actions/changed-files/commit/66275de0606e56bdce755a9408b1cef1aac91580)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([a16702b](https://github.com/tj-actions/changed-files/commit/a16702bf7a036756d8ef85e34bf2e6cbcd474726)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.12 ([aa11897](https://github.com/tj-actions/changed-files/commit/aa11897ec4afaea2c563502c017812d493d21a90)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.7 ([6513fe1](https://github.com/tj-actions/changed-files/commit/6513fe1691ddc9793b54c3b337d6946cd331ab26)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.11 ([45e0c78](https://github.com/tj-actions/changed-files/commit/45e0c78ac7fad3fc00ec4a92c7d93a3f4489a906)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.6 ([a949a83](https://github.com/tj-actions/changed-files/commit/a949a8338c60e9581f87873ab195f1a23066a4fc)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([f93ff33](https://github.com/tj-actions/changed-files/commit/f93ff336292f0bcab245d8fc70fe7f1a6446464b)) - (renovate[bot])
|
||||
- **deps:** Update dependency typescript to v5.6.3 ([729c704](https://github.com/tj-actions/changed-files/commit/729c70475c2976c3d4ca8897d34d9df975a4d05c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.5 ([2009d44](https://github.com/tj-actions/changed-files/commit/2009d446ac92d696d7df2230847a71ba91db7d4a)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([b693fc2](https://github.com/tj-actions/changed-files/commit/b693fc207f2cd18198a39916698cec17bc8e8d42)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v45.0.3 ([#2308](https://github.com/tj-actions/changed-files/issues/2308))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([df3e993](https://github.com/tj-actions/changed-files/commit/df3e9932c48cda43e6e09567f3a1ce1b38ca76e9)) - (tj-actions[bot])
|
||||
|
||||
# [45.0.3](https://github.com/tj-actions/changed-files/compare/v45.0.2...v45.0.3) - (2024-10-03)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Overwriting yaml filter patterns ([#2307](https://github.com/tj-actions/changed-files/issues/2307)) ([c3a1bb2](https://github.com/tj-actions/changed-files/commit/c3a1bb2c992d77180ae65be6ae6c166cf40f857c)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @actions/core to v1.11.0 ([9d4f8fe](https://github.com/tj-actions/changed-files/commit/9d4f8fea5842800088922c102ca4538178833673)) - (renovate[bot])
|
||||
- Bug with files ignore yaml patterns not filtering the list of files ([#2304](https://github.com/tj-actions/changed-files/issues/2304)) ([d0cf164](https://github.com/tj-actions/changed-files/commit/d0cf1645b795cec63a72fbe846e317bf9178b010)) - (Tonye Jack)
|
||||
- Test for since last remote commit check on pull_request closed ([#2295](https://github.com/tj-actions/changed-files/issues/2295)) ([e753fb0](https://github.com/tj-actions/changed-files/commit/e753fb0a6337371498559e2a3aba56403f65b949)) - (Tonye Jack)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([36d5b9d](https://github.com/tj-actions/changed-files/commit/36d5b9dda5f13e931f09f5033a176efb2f03e605)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([4dbe54f](https://github.com/tj-actions/changed-files/commit/4dbe54f96e17faab8feb2c0c323ff84faa4512d2)) - (GitHub Action)
|
||||
|
||||
## <!-- 3 -->📚 Documentation
|
||||
|
||||
- Update README.md ([#2300](https://github.com/tj-actions/changed-files/issues/2300)) ([641e22a](https://github.com/tj-actions/changed-files/commit/641e22af4a94c93fb947ec20045f1ea036579b71)) - (Tonye Jack)
|
||||
- Update README.md ([#2296](https://github.com/tj-actions/changed-files/issues/2296)) ([1a71128](https://github.com/tj-actions/changed-files/commit/1a71128b6a67056616a4284adea37ae02b564f16)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/lodash to v4.17.10 ([27843f1](https://github.com/tj-actions/changed-files/commit/27843f166754bb92655dfb6102aaa76ee2faf762)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([8a4a975](https://github.com/tj-actions/changed-files/commit/8a4a9757b70fd0abbb3230709dd2efe832689c93)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.4 ([6bfa9e7](https://github.com/tj-actions/changed-files/commit/6bfa9e7a9a0cf32f41834ac67d934c8930978a10)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.3 ([625dbd6](https://github.com/tj-actions/changed-files/commit/625dbd682e29fb911c89c6a72b0e723206519c2c)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.2 ([c29c1d3](https://github.com/tj-actions/changed-files/commit/c29c1d3dd08b5aa5936b4f5eb5916104e8eb028b)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.7.0 ([e21f1a3](https://github.com/tj-actions/changed-files/commit/e21f1a3077058afe256713170452e771df5b8693)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.6.1 ([792230f](https://github.com/tj-actions/changed-files/commit/792230fcedfb6be06f8b82405336b8c64d072307)) - (renovate[bot])
|
||||
- **deps:** Update dependency @vercel/ncc to v0.38.2 ([537f1c6](https://github.com/tj-actions/changed-files/commit/537f1c63183dc57ec71788609090fd4eb34d0645)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.9 ([82587d8](https://github.com/tj-actions/changed-files/commit/82587d885833b45b38f65922b2bab11734b2e666)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([eda64a6](https://github.com/tj-actions/changed-files/commit/eda64a62bda002f91918e506fa907562d648e723)) - (renovate[bot])
|
||||
- **deps:** Update actions/setup-node action to v4.0.4 ([4d5444c](https://github.com/tj-actions/changed-files/commit/4d5444c2c31b579919a04a4452abc5d87e4646ad)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v7.0.5 ([c2e104b](https://github.com/tj-actions/changed-files/commit/c2e104be2f2a434709460be32ce45f24994f8bd4)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint to v8.57.1 ([eed685a](https://github.com/tj-actions/changed-files/commit/eed685a419db057cbbbc6590e9ecec893f8e5c27)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v45.0.2 ([#2282](https://github.com/tj-actions/changed-files/issues/2282))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([6f538bb](https://github.com/tj-actions/changed-files/commit/6f538bb83f28b3289d5cd90d638bbdca3e478ebe)) - (tj-actions[bot])
|
||||
|
||||
# [45.0.2](https://github.com/tj-actions/changed-files/compare/v45.0.1...v45.0.2) - (2024-09-16)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency yaml to v2.5.1 ([c7114f6](https://github.com/tj-actions/changed-files/commit/c7114f61a18a89477ae75bf8f896d395bc8b76ea)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([e73bb10](https://github.com/tj-actions/changed-files/commit/e73bb10d965c52e7b2e7b5b0d93bfbf9e8ae5d34)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update peter-evans/create-pull-request action to v7.0.3 ([48d8f15](https://github.com/tj-actions/changed-files/commit/48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([f4e0652](https://github.com/tj-actions/changed-files/commit/f4e06529f19b1626df5c1083eee9140820d0c7c6)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.5.5 ([9b5f7d7](https://github.com/tj-actions/changed-files/commit/9b5f7d7ff59e28c77b62c2091733ea658c695293)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/jest to v29.5.13 ([80dc584](https://github.com/tj-actions/changed-files/commit/80dc58425e90c26fbbeac2d09067f0989dcdae7f)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v7.0.2 ([f9216b6](https://github.com/tj-actions/changed-files/commit/f9216b6d972c29698d917e21341f2e9c6d37f97b)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-github to v5.0.2 ([fef272d](https://github.com/tj-actions/changed-files/commit/fef272dc404c435b95e1afa1cc506e5082c9b6b0)) - (renovate[bot])
|
||||
- **deps:** Update dependency typescript to v5.6.2 ([a236bf5](https://github.com/tj-actions/changed-files/commit/a236bf57ea511b6dd5450da8c6ea3988a0320142)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([0cb58de](https://github.com/tj-actions/changed-files/commit/0cb58dec12dc9b3638ed02bb3e7dc0ba179bd3d5)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([44f3356](https://github.com/tj-actions/changed-files/commit/44f335629614fb45bd4bd15fee8daf049cba956b)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v7.0.1 ([1d9fdda](https://github.com/tj-actions/changed-files/commit/1d9fdda44c9da3604e9be858b3edb3e0501302af)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.8.3 ([ca746c1](https://github.com/tj-actions/changed-files/commit/ca746c1dbed9fbac2942967158c8ec335aa21a85)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.5.4 ([2414c5b](https://github.com/tj-actions/changed-files/commit/2414c5b0011abed79c1ab7e29209e64086d1b378)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v7 ([#2261](https://github.com/tj-actions/changed-files/issues/2261)) ([38cc85f](https://github.com/tj-actions/changed-files/commit/38cc85fd7951de4c0caf6ecff32f43cea1dc27c2)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.5.3 ([834406f](https://github.com/tj-actions/changed-files/commit/834406f3618603966f05a31836c786991bfa37ab)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.8.2 ([a78c1f5](https://github.com/tj-actions/changed-files/commit/a78c1f5db417f9986ba46981f060877995312d9b)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([5977012](https://github.com/tj-actions/changed-files/commit/5977012387b5164ebae4e4b71f76b108056ed114)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v45.0.1 ([#2258](https://github.com/tj-actions/changed-files/issues/2258))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([5d8e41f](https://github.com/tj-actions/changed-files/commit/5d8e41f17cbfc2f796554bcc23314b0d769f14d3)) - (tj-actions[bot])
|
||||
|
||||
# [45.0.1](https://github.com/tj-actions/changed-files/compare/v45.0.0...v45.0.1) - (2024-09-01)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency micromatch to v4.0.8 ([17107f4](https://github.com/tj-actions/changed-files/commit/17107f43d742d4faa6ecb0e261fb75250c89a7f8)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([696bea0](https://github.com/tj-actions/changed-files/commit/696bea0addf7f44a8d99e728a204a3b0b8e49472)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([305db88](https://github.com/tj-actions/changed-files/commit/305db886e7f6c5d1a4515c3376074243a228b52f)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v22.5.2 ([e9772d1](https://github.com/tj-actions/changed-files/commit/e9772d140489982e0e3704fea5ee93d536f1e275)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.8.1 ([880354d](https://github.com/tj-actions/changed-files/commit/880354d0c6198f223384e7971cf8e4eb319d12e3)) - (renovate[bot])
|
||||
- **deps-dev:** Bump @types/node from 22.5.0 to 22.5.1 ([#2252](https://github.com/tj-actions/changed-files/issues/2252)) ([8d5497e](https://github.com/tj-actions/changed-files/commit/8d5497eb10aaffcff15941fd5203c6bef3f516ed)) - (dependabot[bot])
|
||||
- **deps:** Lock file maintenance ([bd7d572](https://github.com/tj-actions/changed-files/commit/bd7d572708b33d884157231d2bd72fa1ce4a4e08)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.2.5 ([2d4c94f](https://github.com/tj-actions/changed-files/commit/2d4c94f4882dbaf95c6fa4becffa9f1bd1475607)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v22.5.0 ([bf02379](https://github.com/tj-actions/changed-files/commit/bf02379775384401af67d6404d7fabad80698b94)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v45 ([#2244](https://github.com/tj-actions/changed-files/issues/2244))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([0d32038](https://github.com/tj-actions/changed-files/commit/0d320382bce2b7e23c664418989dd61f466e7343)) - (tj-actions[bot])
|
||||
|
||||
# [45.0.0](https://github.com/tj-actions/changed-files/compare/v44.5.7...v45.0.0) - (2024-08-21)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
@ -49,7 +49,7 @@ Effortlessly track all changed files and directories relative to a target branch
|
||||
## Features 🚀
|
||||
|
||||
* Fast execution, averaging 0-10 seconds.
|
||||
* Leverages either [Github's REST API](https://docs.github.com/en/rest/reference/repos#list-commits) or [Git's native diff](https://git-scm.com/docs/git-diff) to determine changed files.
|
||||
* Leverages either [Github's REST API](https://docs.github.com/en/rest/reference/repos#list-commits) or [Git's native diff command](https://git-scm.com/docs/git-diff) to determine changed files.
|
||||
* Facilitates easy debugging.
|
||||
* Scales to handle large/mono repositories.
|
||||
* Supports Git submodules.
|
||||
@ -60,7 +60,7 @@ Effortlessly track all changed files and directories relative to a target branch
|
||||
* Optionally excludes the current directory.
|
||||
* Writes outputs to a designated `.txt` or `.json` file for further processing.
|
||||
* Restores deleted files to their previous location or a newly specified location.
|
||||
* Supports fetching a fixed number of commits which improves performance.
|
||||
* Supports fetching a fixed number of commits, which improves performance.
|
||||
* Compatible with all platforms (Linux, MacOS, Windows).
|
||||
* Supports [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners).
|
||||
* Supports [GitHub Enterprise Server](https://docs.github.com/en/enterprise-server@3.3/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server).
|
||||
@ -144,7 +144,8 @@ jobs:
|
||||
with:
|
||||
# Avoid using single or double quotes for multiline patterns
|
||||
files: |
|
||||
**.md
|
||||
**.md
|
||||
docs/**.md
|
||||
|
||||
- name: List all changed files markdown files
|
||||
if: steps.changed-markdown-files.outputs.any_changed == 'true'
|
||||
|
3836
dist/index.js
generated
vendored
3836
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
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
13
dist/licenses.txt
generated
vendored
13
dist/licenses.txt
generated
vendored
@ -6019,19 +6019,6 @@ Permission to use, copy, modify, and/or distribute this software for any purpose
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
|
||||
uuid
|
||||
MIT
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2010-2020 Robert Kieffer and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
wrappy
|
||||
ISC
|
||||
The ISC License
|
||||
|
2
dist/sourcemap-register.js
generated
vendored
2
dist/sourcemap-register.js
generated
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tj-actions/changed-files",
|
||||
"version": "45.0.0",
|
||||
"version": "45.0.4",
|
||||
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
|
||||
"main": "lib/main.js",
|
||||
"publishConfig": {
|
||||
|
34
src/utils.ts
34
src/utils.ts
@ -1258,16 +1258,11 @@ export const getYamlFilePatterns = async ({
|
||||
const newFilePatterns = await getYamlFilePatternsFromContents({filePath})
|
||||
for (const key in newFilePatterns) {
|
||||
if (key in filePatterns) {
|
||||
core.warning(
|
||||
`files_yaml_from_source_file: Duplicated key ${key} detected in ${filePath}, the ${filePatterns[key]} will be overwritten by ${newFilePatterns[key]}.`
|
||||
)
|
||||
filePatterns[key] = [...filePatterns[key], ...newFilePatterns[key]]
|
||||
} else {
|
||||
filePatterns[key] = newFilePatterns[key]
|
||||
}
|
||||
}
|
||||
|
||||
filePatterns = {
|
||||
...filePatterns,
|
||||
...newFilePatterns
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1279,9 +1274,12 @@ export const getYamlFilePatterns = async ({
|
||||
|
||||
for (const key in newIgnoreFilePatterns) {
|
||||
if (key in filePatterns) {
|
||||
core.warning(
|
||||
`files_ignore_yaml: Duplicated key ${key} detected, the ${filePatterns[key]} will be overwritten by ${newIgnoreFilePatterns[key]}.`
|
||||
)
|
||||
filePatterns[key] = [
|
||||
...filePatterns[key],
|
||||
...newIgnoreFilePatterns[key]
|
||||
]
|
||||
} else {
|
||||
filePatterns[key] = newIgnoreFilePatterns[key]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1305,16 +1303,14 @@ export const getYamlFilePatterns = async ({
|
||||
|
||||
for (const key in newIgnoreFilePatterns) {
|
||||
if (key in filePatterns) {
|
||||
core.warning(
|
||||
`files_ignore_yaml_from_source_file: Duplicated key ${key} detected in ${filePath}, the ${filePatterns[key]} will be overwritten by ${newIgnoreFilePatterns[key]}.`
|
||||
)
|
||||
filePatterns[key] = [
|
||||
...filePatterns[key],
|
||||
...newIgnoreFilePatterns[key]
|
||||
]
|
||||
} else {
|
||||
filePatterns[key] = newIgnoreFilePatterns[key]
|
||||
}
|
||||
}
|
||||
|
||||
filePatterns = {
|
||||
...filePatterns,
|
||||
...newIgnoreFilePatterns
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
1
test/new.md
Normal file
1
test/new.md
Normal file
@ -0,0 +1 @@
|
||||
This is a test markdown file
|
@ -1 +1 @@
|
||||
This is a test file.
|
||||
This is a test file...
|
||||
|
Loading…
x
Reference in New Issue
Block a user