Compare commits

..

No commits in common. "main" and "v45.0.0" have entirely different histories.

14 changed files with 2801 additions and 2591 deletions

View File

@ -37,7 +37,7 @@ jobs:
- name: Run git-cliff - name: Run git-cliff
uses: tj-actions/git-cliff@v1 uses: tj-actions/git-cliff@v1
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v7.0.5 uses: peter-evans/create-pull-request@v6.1.0
with: with:
base: "main" base: "main"
labels: "merge when passing" labels: "merge when passing"

View File

@ -45,7 +45,7 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Use Node.js 20.x - name: Use Node.js 20.x
uses: actions/setup-node@v4.1.0 uses: actions/setup-node@v4.0.3
with: with:
cache: 'yarn' cache: 'yarn'
node-version: '20.x' node-version: '20.x'
@ -65,7 +65,6 @@ jobs:
with: with:
token: ${{ secrets.PAT_TOKEN }} token: ${{ secrets.PAT_TOKEN }}
config_path: ".eslintrc.json" config_path: ".eslintrc.json"
ignore_path: ".eslintignore"
- name: Run build and test - name: Run build and test
run: | run: |
@ -75,7 +74,6 @@ jobs:
- name: Verify Changed files - name: Verify Changed files
uses: tj-actions/verify-changed-files@v20 uses: tj-actions/verify-changed-files@v20
if: github.actor != 'dependabot[bot]'
id: changed_files id: changed_files
with: with:
files: | files: |
@ -760,24 +758,6 @@ jobs:
shell: shell:
bash 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 - name: Run changed-files with files_yaml, json and write_output_files
id: changed-files-json-write-output-files id: changed-files-json-write-output-files
uses: ./ uses: ./
@ -1139,9 +1119,9 @@ jobs:
since_last_remote_commit: true since_last_remote_commit: true
- name: Verify succeeded pull_request(closed) - name: Verify succeeded pull_request(closed)
if: steps.changed-files-since-last-remote-commit.outcome != 'success' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request' if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
run: | run: |
echo "Expected: (success) got ${{ steps.changed-files-since-last-remote-commit.outcome }}" echo "Expected: (failure) got ${{ steps.changed-files-since-last-remote-commit.outcome }}"
exit 1 exit 1
- name: Verify succeeded - name: Verify succeeded

View File

@ -41,7 +41,7 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
if: failure() if: failure()
uses: peter-evans/create-pull-request@v7 uses: peter-evans/create-pull-request@v6
with: with:
base: "main" base: "main"
labels: "merge when passing" labels: "merge when passing"

View File

@ -1,221 +1,5 @@
# Changelog # 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
- Update test skip logic to use custom env ([#2242](https://github.com/tj-actions/changed-files/issues/2242)) ([b4c0974](https://github.com/tj-actions/changed-files/commit/b4c09741612c0d0d09129949a5b838bc5a2ca2db)) - (Tonye Jack)
- Remove unsupported input ([#2238](https://github.com/tj-actions/changed-files/issues/2238)) ([525aabb](https://github.com/tj-actions/changed-files/commit/525aabbe28ff90085d9d8a5196aaefb2d45212ea)) - (Tonye Jack)
- **deps:** Update dependency @octokit/rest to v21.0.2 ([3ea85a1](https://github.com/tj-actions/changed-files/commit/3ea85a1c0dd328358b2b2dc3c64096bb53c6b0c1)) - (renovate[bot])
## <!-- 16 --> Add
- Added missing changes and modified dist assets.
([598b721](https://github.com/tj-actions/changed-files/commit/598b7212f2ea640716051eb2fa047bf7bfa0d14e)) - (GitHub Action)
## <!-- 18 -->📝 Rename
- Renamed Files decomposed into Deleted: previous_filename and Added:filename ([#2236](https://github.com/tj-actions/changed-files/issues/2236))
Co-authored-by: Tonye Jack <jtonye@ymail.com> ([f8034fb](https://github.com/tj-actions/changed-files/commit/f8034fbb842b9375f55c102cf30df481f2e6890a)) - (Lukas Pfahler)
## <!-- 26 -->🔄 Update
- Updated README.md ([#2243](https://github.com/tj-actions/changed-files/issues/2243))
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com> ([40853de](https://github.com/tj-actions/changed-files/commit/40853de9f8ce2d6cfdc73c1b96f14e22ba44aec4)) - (tj-actions[bot])
- Update tsconfig.json ([88201be](https://github.com/tj-actions/changed-files/commit/88201be733611971b8d283536afbadb94acacbec)) - (Tonye Jack)
## <!-- 3 -->📚 Documentation
- Add Whadup as a contributor for code ([#2239](https://github.com/tj-actions/changed-files/issues/2239)) ([94b94fe](https://github.com/tj-actions/changed-files/commit/94b94fea1356122b6e0c23eefdf1c2bdb78aa1f3)) - (allcontributors[bot])
## <!-- 7 -->⚙️ Miscellaneous Tasks
- Debug env vars ([#2241](https://github.com/tj-actions/changed-files/issues/2241)) ([246859d](https://github.com/tj-actions/changed-files/commit/246859db916b59b25edd053a219d9f3ae97c9ef3)) - (Tonye Jack)
- Conditionally skip certain test for foked prs ([#2240](https://github.com/tj-actions/changed-files/issues/2240)) ([46a4c02](https://github.com/tj-actions/changed-files/commit/46a4c027a6ca424288bffcec07df0f9c6a22ad04)) - (Tonye Jack)
- **deps:** Update dependency @types/node to v22.4.2 ([25b2562](https://github.com/tj-actions/changed-files/commit/25b256207da93370b637d0cb8ca6b1eadefa416c)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.4.1 ([257f12c](https://github.com/tj-actions/changed-files/commit/257f12c17b624944a118c0ee4f1328d1db751f04)) - (renovate[bot])
- **deps:** Lock file maintenance ([9b7ba7b](https://github.com/tj-actions/changed-files/commit/9b7ba7b107e24ce3b2ea1fabc6e8ee24badbe2fb)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.4.0 ([50693d8](https://github.com/tj-actions/changed-files/commit/50693d8df5efed5c6f330925483b04c1c1208702)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.3.0 ([87d8f94](https://github.com/tj-actions/changed-files/commit/87d8f9488bd2369daea87e3280365d43cf582486)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.2.0 ([950331d](https://github.com/tj-actions/changed-files/commit/950331d47c80d51fcac43586b6fd549ba048614c)) - (renovate[bot])
- **deps:** Update dependency eslint-plugin-jest to v28.8.0 ([ed00b69](https://github.com/tj-actions/changed-files/commit/ed00b69562f42e9decbca768638a37bf0b543dcc)) - (renovate[bot])
- **deps:** Update dependency eslint-plugin-jest to v28.7.0 ([9d768c3](https://github.com/tj-actions/changed-files/commit/9d768c3d4e4dec1f7f27e777ac95d18cf1e54baa)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.1.0 ([6b79c79](https://github.com/tj-actions/changed-files/commit/6b79c799809342f040f1919cc45679db9d22d5e6)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.0.3 ([99b60a2](https://github.com/tj-actions/changed-files/commit/99b60a2a91bd1229647c3e538ac3a9efe20ba48f)) - (renovate[bot])
- **deps:** Update dependency ts-jest to v29.2.4 ([8ae850f](https://github.com/tj-actions/changed-files/commit/8ae850f05251403b348acd43c6f8a53442e761ea)) - (renovate[bot])
- **deps:** Update dependency @types/node to v22.0.1 ([03d95b0](https://github.com/tj-actions/changed-files/commit/03d95b07db4bab30a09af1f3844d0d8b5d603475)) - (renovate[bot])
## <!-- 9 -->⬆️ Upgrades
- Upgraded to v44.5.7 ([#2218](https://github.com/tj-actions/changed-files/issues/2218))
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([7103800](https://github.com/tj-actions/changed-files/commit/71038002e0421311a633d95eb36fe5cb4f0152c6)) - (tj-actions[bot])
# [44.5.7](https://github.com/tj-actions/changed-files/compare/v44.5.6...v44.5.7) - (2024-07-30) # [44.5.7](https://github.com/tj-actions/changed-files/compare/v44.5.6...v44.5.7) - (2024-07-30)
## <!-- 1 -->🐛 Bug Fixes ## <!-- 1 -->🐛 Bug Fixes

View File

@ -49,7 +49,7 @@ Effortlessly track all changed files and directories relative to a target branch
## Features 🚀 ## Features 🚀
* Fast execution, averaging 0-10 seconds. * 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 command](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](https://git-scm.com/docs/git-diff) to determine changed files.
* Facilitates easy debugging. * Facilitates easy debugging.
* Scales to handle large/mono repositories. * Scales to handle large/mono repositories.
* Supports Git submodules. * Supports Git submodules.
@ -60,7 +60,7 @@ Effortlessly track all changed files and directories relative to a target branch
* Optionally excludes the current directory. * Optionally excludes the current directory.
* Writes outputs to a designated `.txt` or `.json` file for further processing. * Writes outputs to a designated `.txt` or `.json` file for further processing.
* Restores deleted files to their previous location or a newly specified location. * 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). * 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-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). * 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).
@ -122,7 +122,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
# with: # with:
# since_last_remote_commit: true # since_last_remote_commit: true
@ -140,12 +140,11 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get all changed markdown files - name: Get all changed markdown files
id: changed-markdown-files id: changed-markdown-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
# Avoid using single or double quotes for multiline patterns # Avoid using single or double quotes for multiline patterns
files: | files: |
**.md **.md
docs/**.md
- name: List all changed files markdown files - name: List all changed files markdown files
if: steps.changed-markdown-files.outputs.any_changed == 'true' if: steps.changed-markdown-files.outputs.any_changed == 'true'
@ -161,7 +160,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get all test, doc and src files that have changed - name: Get all test, doc and src files that have changed
id: changed-files-yaml id: changed-files-yaml
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files_yaml: | files_yaml: |
doc: doc:
@ -196,7 +195,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get changed files in the docs folder - name: Get changed files in the docs folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files: docs/*.{js,html} # Alternatively using: `docs/**` files: docs/*.{js,html} # Alternatively using: `docs/**`
files_ignore: docs/static.js files_ignore: docs/static.js
@ -238,7 +237,7 @@ jobs:
steps: steps:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
- name: List all changed files - name: List all changed files
env: env:
@ -281,7 +280,7 @@ jobs:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit. # NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
- name: List all changed files - name: List all changed files
@ -328,7 +327,7 @@ Support this project with a :star:
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section --> <!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
```yaml ```yaml
- uses: tj-actions/changed-files@v45 - uses: tj-actions/changed-files@v44
id: changed-files id: changed-files
with: with:
# Github API URL. # Github API URL.
@ -813,7 +812,7 @@ The format of the version string is as follows:
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
... ...
``` ```
@ -826,7 +825,7 @@ The format of the version string is as follows:
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection. safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
@ -849,7 +848,7 @@ The format of the version string is as follows:
... ...
- name: Get all changed files and use a comma separator in the output - name: Get all changed files and use a comma separator in the output
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
separator: "," separator: ","
... ...
@ -866,7 +865,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
- name: List all added files - name: List all added files
env: env:
@ -889,7 +888,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
- name: Run a step if my-file.txt was modified - name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@ -910,7 +909,7 @@ See [outputs](#outputs) for a list of all available outputs.
- name: Get changed files and write the outputs to a Txt file - name: Get changed files and write the outputs to a Txt file
id: changed-files-write-output-files-txt id: changed-files-write-output-files-txt
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
write_output_files: true write_output_files: true
@ -929,7 +928,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files and write the outputs to a JSON file - name: Get changed files and write the outputs to a JSON file
id: changed-files-write-output-files-json id: changed-files-write-output-files-json
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
json: true json: true
write_output_files: true write_output_files: true
@ -949,7 +948,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files: | files: |
my-file.txt my-file.txt
@ -972,7 +971,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files - name: Get changed files
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files: | files: |
my-file.txt my-file.txt
@ -1023,7 +1022,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files using a source file or list of file(s) to populate to files input. - name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file id: changed-files-specific-source-file
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files_from_source_file: test/changed-files-list.txt files_from_source_file: test/changed-files-list.txt
... ...
@ -1040,7 +1039,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files. - name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
id: changed-files-specific-source-file-and-specify-files id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files_from_source_file: | files_from_source_file: |
test/changed-files-list.txt test/changed-files-list.txt
@ -1061,7 +1060,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a different SHA - name: Get changed files using a different SHA
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
sha: ${{ github.event.pull_request.head.sha }} sha: ${{ github.event.pull_request.head.sha }}
... ...
@ -1078,7 +1077,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a different base SHA - name: Get changed files using a different base SHA
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
base_sha: ${{ github.event.pull_request.base.sha }} base_sha: ${{ github.event.pull_request.base.sha }}
... ...
@ -1110,7 +1109,7 @@ jobs:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
- name: List changed files - name: List changed files
env: env:
@ -1120,7 +1119,7 @@ jobs:
- name: Get changed files in the .github folder - name: Get changed files in the .github folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files: .github/** files: .github/**
@ -1151,7 +1150,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with defaults in dir1 - name: Run changed-files with defaults in dir1
id: changed-files-for-dir1 id: changed-files-for-dir1
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
path: dir1 path: dir1
@ -1176,13 +1175,13 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with quotepath disabled - name: Run changed-files with quotepath disabled
id: changed-files-quotepath id: changed-files-quotepath
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
quotepath: "false" quotepath: "false"
- name: Run changed-files with quotepath disabled for a specified list of file(s) - name: Run changed-files with quotepath disabled for a specified list of file(s)
id: changed-files-quotepath-specific id: changed-files-quotepath-specific
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
files: test/test-è.txt files: test/test-è.txt
quotepath: "false" quotepath: "false"
@ -1215,7 +1214,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run - name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push id: changed-files-base-sha-push
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }} base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
... ...
@ -1242,7 +1241,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run on the main branch - name: Run changed-files with the commit of the last successful test workflow run on the main branch
id: changed-files-base-sha-pull-request id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
... ...
@ -1268,7 +1267,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with dir_names - name: Run changed-files with dir_names
id: changed-files-dir-names id: changed-files-dir-names
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
dir_names: "true" dir_names: "true"
... ...
@ -1285,7 +1284,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with JSON output - name: Run changed-files with JSON output
id: changed-files-json id: changed-files-json
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
json: "true" json: "true"
... ...
@ -1302,13 +1301,13 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed-files since 2022-08-19 - name: Get changed-files since 2022-08-19
id: changed-files-since id: changed-files-since
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
since: "2022-08-19" since: "2022-08-19"
- name: Get changed-files until 2022-08-20 - name: Get changed-files until 2022-08-20
id: changed-files-until id: changed-files-until
uses: tj-actions/changed-files@v45 uses: tj-actions/changed-files@v44
with: with:
until: "2022-08-20" until: "2022-08-20"
... ...

3777
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

13
dist/licenses.txt generated vendored
View File

@ -6019,6 +6019,19 @@ 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. 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 wrappy
ISC ISC
The ISC License The ISC License

2
dist/sourcemap-register.js generated vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "@tj-actions/changed-files", "name": "@tj-actions/changed-files",
"version": "45.0.4", "version": "44.5.7",
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.", "description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
"main": "lib/main.js", "main": "lib/main.js",
"publishConfig": { "publishConfig": {

View File

@ -1258,11 +1258,16 @@ export const getYamlFilePatterns = async ({
const newFilePatterns = await getYamlFilePatternsFromContents({filePath}) const newFilePatterns = await getYamlFilePatternsFromContents({filePath})
for (const key in newFilePatterns) { for (const key in newFilePatterns) {
if (key in filePatterns) { if (key in filePatterns) {
filePatterns[key] = [...filePatterns[key], ...newFilePatterns[key]] core.warning(
} else { `files_yaml_from_source_file: Duplicated key ${key} detected in ${filePath}, the ${filePatterns[key]} will be overwritten by ${newFilePatterns[key]}.`
filePatterns[key] = newFilePatterns[key] )
} }
} }
filePatterns = {
...filePatterns,
...newFilePatterns
}
} }
} }
@ -1274,12 +1279,9 @@ export const getYamlFilePatterns = async ({
for (const key in newIgnoreFilePatterns) { for (const key in newIgnoreFilePatterns) {
if (key in filePatterns) { if (key in filePatterns) {
filePatterns[key] = [ core.warning(
...filePatterns[key], `files_ignore_yaml: Duplicated key ${key} detected, the ${filePatterns[key]} will be overwritten by ${newIgnoreFilePatterns[key]}.`
...newIgnoreFilePatterns[key] )
]
} else {
filePatterns[key] = newIgnoreFilePatterns[key]
} }
} }
} }
@ -1303,14 +1305,16 @@ export const getYamlFilePatterns = async ({
for (const key in newIgnoreFilePatterns) { for (const key in newIgnoreFilePatterns) {
if (key in filePatterns) { if (key in filePatterns) {
filePatterns[key] = [ core.warning(
...filePatterns[key], `files_ignore_yaml_from_source_file: Duplicated key ${key} detected in ${filePath}, the ${filePatterns[key]} will be overwritten by ${newIgnoreFilePatterns[key]}.`
...newIgnoreFilePatterns[key] )
]
} else {
filePatterns[key] = newIgnoreFilePatterns[key]
} }
} }
filePatterns = {
...filePatterns,
...newIgnoreFilePatterns
}
} }
} }

View File

@ -1 +0,0 @@
This is a test markdown file

View File

@ -1 +1 @@
This is a test file... This is a test file.

1172
yarn.lock

File diff suppressed because it is too large Load Diff