Compare commits
329 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 | ||
![]() |
e9772d1404 | ||
![]() |
880354d0c6 | ||
![]() |
8d5497eb10 | ||
![]() |
696bea0add | ||
![]() |
bd7d572708 | ||
![]() |
305db886e7 | ||
![]() |
17107f43d7 | ||
![]() |
2d4c94f488 | ||
![]() |
bf02379775 | ||
![]() |
0d320382bc | ||
![]() |
40853de9f8 | ||
![]() |
94b94fea13 | ||
![]() |
f8034fbb84 | ||
![]() |
b4c0974161 | ||
![]() |
246859db91 | ||
![]() |
46a4c027a6 | ||
![]() |
525aabbe28 | ||
![]() |
25b256207d | ||
![]() |
257f12c17b | ||
![]() |
598b7212f2 | ||
![]() |
88201be733 | ||
![]() |
9b7ba7b107 | ||
![]() |
3ea85a1c0d | ||
![]() |
50693d8df5 | ||
![]() |
87d8f9488b | ||
![]() |
950331d47c | ||
![]() |
ed00b69562 | ||
![]() |
9d768c3d4e | ||
![]() |
6b79c79980 | ||
![]() |
99b60a2a91 | ||
![]() |
8ae850f052 | ||
![]() |
71038002e0 | ||
![]() |
03d95b07db | ||
![]() |
c65cd88342 | ||
![]() |
9f928e3005 | ||
![]() |
fb1b47b727 | ||
![]() |
a77ecbc238 | ||
![]() |
e4fe134b73 | ||
![]() |
f5a7145f2b | ||
![]() |
10471793b2 | ||
![]() |
28fd03b28d | ||
![]() |
4db04c76fa | ||
![]() |
f79274f27b | ||
![]() |
f1d2215d5d | ||
![]() |
6b2903bdce | ||
![]() |
dc82617b24 | ||
![]() |
1797e9a1ea | ||
![]() |
56b5e13a32 | ||
![]() |
9e63ef55ed | ||
![]() |
f1afcaced6 | ||
![]() |
e42a3d1b0a | ||
![]() |
f0eedff362 | ||
![]() |
f6d7b721fd | ||
![]() |
6f59461624 | ||
![]() |
443dcaf814 | ||
![]() |
6f8dfa84e8 | ||
![]() |
df7dd40375 | ||
![]() |
07a5a99344 | ||
![]() |
02a0746337 | ||
![]() |
75ed46d235 | ||
![]() |
c8c9e91b48 | ||
![]() |
8ead8a4214 | ||
![]() |
0f83d09356 | ||
![]() |
c3dcd3e758 | ||
![]() |
0e9a58eebf | ||
![]() |
2295558b65 | ||
![]() |
68447960ff | ||
![]() |
00518ab39d | ||
![]() |
2c2260e690 | ||
![]() |
9adb9156b8 | ||
![]() |
d1d479f03c | ||
![]() |
cc733854b1 | ||
![]() |
0b99ecfd4e | ||
![]() |
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 | ||
![]() |
0874344d6e | ||
![]() |
9f8300f8b4 | ||
![]() |
a06b9e80ae | ||
![]() |
4c5f5d698f | ||
![]() |
07c64e5618 | ||
![]() |
5bd333239b | ||
![]() |
831e892562 | ||
![]() |
e052d30e1c | ||
![]() |
23a449039c | ||
![]() |
60e2739e15 | ||
![]() |
0f319d7425 | ||
![]() |
d477ae513d | ||
![]() |
5891cbdfd5 | ||
![]() |
c9eaa5c000 | ||
![]() |
fd91508dbb | ||
![]() |
e8a7e82269 | ||
![]() |
159b05372c | ||
![]() |
635f118699 | ||
![]() |
634b61511e | ||
![]() |
77fcf43160 | ||
![]() |
5f084a52a4 | ||
![]() |
ff2cb1b4f2 | ||
![]() |
5d5da31340 | ||
![]() |
29bc0d3fd9 | ||
![]() |
c9f9d5784e | ||
![]() |
a4fba0109c | ||
![]() |
8a6546164a | ||
![]() |
bad2eb6859 | ||
![]() |
b2dbd4264a | ||
![]() |
57d40e662d | ||
![]() |
185549c022 | ||
![]() |
f853fd0592 | ||
![]() |
cd3c6e6bbd | ||
![]() |
e5ce44a301 | ||
![]() |
ccdcd17ffd | ||
![]() |
e4b8dafc5d | ||
![]() |
2d756ea4c5 | ||
![]() |
ce497c39e9 | ||
![]() |
2d21bbb405 | ||
![]() |
90941b398f | ||
![]() |
2ca8dc42f6 | ||
![]() |
ee096d679e | ||
![]() |
4621617d4b | ||
![]() |
4bbd49b998 | ||
![]() |
c6557ed000 | ||
![]() |
f0e7702ccc | ||
![]() |
6354e6c542 | ||
![]() |
117616472f | ||
![]() |
4ff79362e5 | ||
![]() |
0713a11242 | ||
![]() |
064742427d | ||
![]() |
efe5e6c7a4 | ||
![]() |
01e9662a12 | ||
![]() |
20576b4b9e | ||
![]() |
077b23f6a6 | ||
![]() |
02768050b1 | ||
![]() |
427adf47f0 | ||
![]() |
5c6aa49478 | ||
![]() |
aa0b62a2d0 | ||
![]() |
0320702dd5 | ||
![]() |
38903688b4 | ||
![]() |
98a74d2cd6 | ||
![]() |
068000d9c6 | ||
![]() |
490ac3999e | ||
![]() |
2859a60726 | ||
![]() |
d03038e4e4 | ||
![]() |
77af4bed28 | ||
![]() |
a5cf6aa30c | ||
![]() |
15807c9c84 | ||
![]() |
dc458cf753 | ||
![]() |
92ca3eebd0 | ||
![]() |
f591d0c7f0 | ||
![]() |
35023362e2 | ||
![]() |
e436cb6d85 | ||
![]() |
257d47dfba | ||
![]() |
4918e11830 |
@ -245,6 +245,15 @@
|
||||
"code",
|
||||
"bug"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "Whadup",
|
||||
"name": "Lukas Pfahler",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/2308119?v=4",
|
||||
"profile": "https://lukaspfahler.de",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
|
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.5
|
||||
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.1
|
||||
uses: peter-evans/create-pull-request@v7.0.5
|
||||
with:
|
||||
base: "main"
|
||||
labels: "merge when passing"
|
||||
|
91
.github/workflows/test.yml
vendored
91
.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.2
|
||||
uses: actions/setup-node@v4.1.0
|
||||
with:
|
||||
cache: 'yarn'
|
||||
node-version: '20.x'
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
yarn install
|
||||
|
||||
- name: Run eslint on changed files
|
||||
uses: tj-actions/eslint-changed-files@v23
|
||||
uses: tj-actions/eslint-changed-files@v25
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
token: ${{ secrets.PAT_TOKEN }}
|
||||
@ -70,9 +70,12 @@ jobs:
|
||||
- name: Run build and test
|
||||
run: |
|
||||
yarn all
|
||||
env:
|
||||
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
|
||||
|
||||
- name: Verify Changed files
|
||||
uses: tj-actions/verify-changed-files@v19
|
||||
uses: tj-actions/verify-changed-files@v20
|
||||
if: github.actor != 'dependabot[bot]'
|
||||
id: changed_files
|
||||
with:
|
||||
files: |
|
||||
@ -682,6 +685,27 @@ jobs:
|
||||
echo "${{ toJSON(steps.changed-files.outputs) }}"
|
||||
shell:
|
||||
bash
|
||||
|
||||
- name: Run changed-files excluding submodule
|
||||
id: changed-files-exclude-submodule
|
||||
uses: ./
|
||||
with:
|
||||
base_sha: "85bd869"
|
||||
sha: "adde7bb"
|
||||
fetch_depth: 60000
|
||||
exclude_submodules: true
|
||||
|
||||
- name: Verify no added files
|
||||
if: steps.changed-files-exclude-submodule.outputs.added_files != ''
|
||||
run: |
|
||||
echo "Expected: ('') got ${{ steps.changed-files-exclude-submodule.outputs.added_files }}"
|
||||
exit 1
|
||||
|
||||
- name: Show output
|
||||
run: |
|
||||
echo "${{ toJSON(steps.changed-files-exclude-submodule.outputs) }}"
|
||||
shell:
|
||||
bash
|
||||
test-yaml:
|
||||
name: Test changed-files with yaml
|
||||
runs-on: ubuntu-latest
|
||||
@ -736,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: ./
|
||||
@ -988,8 +1030,11 @@ jobs:
|
||||
bash
|
||||
test-dir-names-deleted-files-include-only-deleted-dirs-directory:
|
||||
name: Test dir names deleted files include only deleted dirs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.platform }}
|
||||
needs: build
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
if: needs.build.outputs.files_changed != 'true'
|
||||
permissions:
|
||||
contents: read
|
||||
@ -997,7 +1042,7 @@ jobs:
|
||||
- name: Checkout branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: cd1e384723e4d1a184568182ac2b27c53ebf017f
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
submodules: true
|
||||
fetch-depth: 2
|
||||
@ -1009,6 +1054,7 @@ jobs:
|
||||
sha: cd1e384723e4d1a184568182ac2b27c53ebf017f
|
||||
dir_names: true
|
||||
dir_names_deleted_files_include_only_deleted_dirs: true
|
||||
fetch_depth: 60000
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory.outputs) }}'
|
||||
@ -1028,6 +1074,35 @@ jobs:
|
||||
exit 1
|
||||
shell:
|
||||
bash
|
||||
- name: Run changed-files with dir_names and dir_names_deleted_files_include_only_deleted_dirs with the test directory deleted returns posix path separator
|
||||
id: changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator
|
||||
uses: ./
|
||||
with:
|
||||
base_sha: a52f8621d26d5d9f54b80f74bda2d9eedff94693
|
||||
sha: cd1e384723e4d1a184568182ac2b27c53ebf017f
|
||||
dir_names: true
|
||||
dir_names_deleted_files_include_only_deleted_dirs: true
|
||||
use_posix_path_separator: true
|
||||
fetch_depth: 60000
|
||||
- name: Show output
|
||||
run: |
|
||||
echo '${{ toJSON(steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator.outputs) }}'
|
||||
shell:
|
||||
bash
|
||||
- name: Check deleted_files output on non windows platform
|
||||
if: steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator.outputs.deleted_files != 'test/test3' && runner.os != 'Windows'
|
||||
run: |
|
||||
echo "Invalid output: Expected (test/test3) got (${{ steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator.outputs.deleted_files }})"
|
||||
exit 1
|
||||
shell:
|
||||
bash
|
||||
- name: Check deleted_files output on windows platform
|
||||
if: "!contains(steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator.outputs.deleted_files, 'test/test3') && runner.os == 'Windows'"
|
||||
run: |
|
||||
echo "Invalid output: Expected (test/test3) got (${{ steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory-posix-path-separator.outputs.deleted_files }})"
|
||||
exit 1
|
||||
shell:
|
||||
bash
|
||||
|
||||
test-since-last-remote-commit:
|
||||
name: Test changed-files since last remote commit
|
||||
@ -1063,10 +1138,10 @@ jobs:
|
||||
with:
|
||||
since_last_remote_commit: true
|
||||
|
||||
- name: Verify failed
|
||||
if: steps.changed-files-since-last-remote-commit.outcome != 'failure' && matrix.fetch-depth == 1 && github.event.action == 'closed' && github.event_name == 'pull_request'
|
||||
- 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'
|
||||
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
|
||||
|
4
.github/workflows/update-readme.yml
vendored
4
.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: |
|
||||
@ -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"
|
||||
|
725
HISTORY.md
725
HISTORY.md
@ -1,5 +1,730 @@
|
||||
# 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)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency @stdlib/utils-convert-path to v0.2.2 ([e4fe134](https://github.com/tj-actions/changed-files/commit/e4fe134b735e3c67d244091a6c505cbb39b32212)) - (renovate[bot])
|
||||
- Error with pull_request closed test ([#2211](https://github.com/tj-actions/changed-files/issues/2211)) ([f5a7145](https://github.com/tj-actions/changed-files/commit/f5a7145f2ba7e6d42d799f0270017afc09189f64)) - (Tonye Jack)
|
||||
- **deps:** Update dependency yaml to v2.5.0 ([28fd03b](https://github.com/tj-actions/changed-files/commit/28fd03b28d647c18884fa609756e9aa323da9598)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([a77ecbc](https://github.com/tj-actions/changed-files/commit/a77ecbc238d92fd078cf5deee43b895a3a5b3fef)) - (GitHub Action)
|
||||
- Added missing changes and modified dist assets.
|
||||
([1047179](https://github.com/tj-actions/changed-files/commit/10471793b2c8356c90f4ddf302561e23d57582ac)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps-dev:** Bump @types/node from 20.14.13 to 22.0.0 ([#2215](https://github.com/tj-actions/changed-files/issues/2215)) ([c65cd88](https://github.com/tj-actions/changed-files/commit/c65cd883420fd2eb864698a825fc4162dd94482c)) - (dependabot[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.18.0 ([9f928e3](https://github.com/tj-actions/changed-files/commit/9f928e3005748ed5c45dcdb97c101a4547f612d0)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.13 ([fb1b47b](https://github.com/tj-actions/changed-files/commit/fb1b47b72779e62a69dc98934f3e07e01eb78735)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.12 ([4db04c7](https://github.com/tj-actions/changed-files/commit/4db04c76fac5b37cc0308020af9c651f2447a026)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.17.0 ([f79274f](https://github.com/tj-actions/changed-files/commit/f79274f27befa7e1bf6d5eb1c4964c0f65cea226)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.6 ([#2204](https://github.com/tj-actions/changed-files/issues/2204))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([f1d2215](https://github.com/tj-actions/changed-files/commit/f1d2215d5d3ce1f57b3ad38a3db65d0e2cfbdb38)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.6](https://github.com/tj-actions/changed-files/compare/v44.5.5...v44.5.6) - (2024-07-18)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Remove unused code ([#2202](https://github.com/tj-actions/changed-files/issues/2202)) ([6b2903b](https://github.com/tj-actions/changed-files/commit/6b2903bdce6310cfbddd87c418f253cf29b2dec9)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @octokit/rest to v21.0.1 ([56b5e13](https://github.com/tj-actions/changed-files/commit/56b5e13a32a8099659d9f0de4b06bc1fe9b60d3b)) - (renovate[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency ts-jest to v29.2.3 ([dc82617](https://github.com/tj-actions/changed-files/commit/dc82617b247f7d2e5734aa9c0a0e5b800e58c1d8)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-prettier to v5.2.1 ([1797e9a](https://github.com/tj-actions/changed-files/commit/1797e9a1ea6596c1ae24e354e3d27b60332efcda)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.11 ([9e63ef5](https://github.com/tj-actions/changed-files/commit/9e63ef55ed3d63a5d2a83c405c415505f18fc6ea)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.7 ([f1afcac](https://github.com/tj-actions/changed-files/commit/f1afcaced6b0126bdec60471b68db60065446b50)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.16.1 ([e42a3d1](https://github.com/tj-actions/changed-files/commit/e42a3d1b0ac3775d2029e7f164e9969b2d0b70a3)) - (renovate[bot])
|
||||
- **deps:** Update dependency prettier to v3.3.3 ([f0eedff](https://github.com/tj-actions/changed-files/commit/f0eedff3627914fdcdf6458fad3b3d27fdff3f4a)) - (renovate[bot])
|
||||
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.5 ([f6d7b72](https://github.com/tj-actions/changed-files/commit/f6d7b721fdaf52c025f2ffecd8ed077ef7dbb8a8)) - (renovate[bot])
|
||||
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.4 ([6f59461](https://github.com/tj-actions/changed-files/commit/6f59461624f15e6b5588a64c5e2e6116135e331b)) - (renovate[bot])
|
||||
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.2 ([443dcaf](https://github.com/tj-actions/changed-files/commit/443dcaf814b84471f1737342017b67aee4917773)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.2.2 ([6f8dfa8](https://github.com/tj-actions/changed-files/commit/6f8dfa84e8e84bd9098c4348fbe396887cdd0f38)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.2.1 ([df7dd40](https://github.com/tj-actions/changed-files/commit/df7dd40375e33c41b6fe2cd958a804c547147279)) - (renovate[bot])
|
||||
- **deps:** Update actions/setup-node action to v4.0.3 ([07a5a99](https://github.com/tj-actions/changed-files/commit/07a5a993446b4205ab95d7f4eb2d1e435548a102)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.16.0 ([02a0746](https://github.com/tj-actions/changed-files/commit/02a07463378d7af3098bbce6750f7b64e20ef461)) - (renovate[bot])
|
||||
- **deps:** Update dependency ts-jest to v29.2.0 ([75ed46d](https://github.com/tj-actions/changed-files/commit/75ed46d2351d95449bc2a73d22be97b3e298ebd8)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.10 ([c8c9e91](https://github.com/tj-actions/changed-files/commit/c8c9e91b4862f4ad5a37964c137c76718a4cfa6f)) - (renovate[bot])
|
||||
- **deps:** Update dependency @typescript-eslint/eslint-plugin to v7.15.0 ([8ead8a4](https://github.com/tj-actions/changed-files/commit/8ead8a4214dd9c5a55cd8c8bee76d160924658d4)) - (renovate[bot])
|
||||
- **deps-dev:** Bump @typescript-eslint/parser from 7.14.1 to 7.15.0 ([#2181](https://github.com/tj-actions/changed-files/issues/2181)) ([0f83d09](https://github.com/tj-actions/changed-files/commit/0f83d0935656d43bd0b883e10837a93197efaaf0)) - (dependabot[bot])
|
||||
- **deps:** Update dependency @types/micromatch to v4.0.9 ([c3dcd3e](https://github.com/tj-actions/changed-files/commit/c3dcd3e758397022af9086c80ca350d4877c8c3b)) - (renovate[bot])
|
||||
- **deps:** Update actions/checkout action to v4 ([#2174](https://github.com/tj-actions/changed-files/issues/2174)) ([0e9a58e](https://github.com/tj-actions/changed-files/commit/0e9a58eebf6df74057d390987e9c2ac0f213183f)) - (renovate[bot])
|
||||
- **deps:** Update actions/checkout action to v3 ([2295558](https://github.com/tj-actions/changed-files/commit/2295558b65fbca90682dd481b6933055f2f50dbb)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.6 ([6844796](https://github.com/tj-actions/changed-files/commit/68447960fff679ad642c837ddfa08b9602eb3b1a)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/micromatch to v4.0.8 ([00518ab](https://github.com/tj-actions/changed-files/commit/00518ab39d971ba44ba6fe89e10452323fd2674b)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.9 ([2c2260e](https://github.com/tj-actions/changed-files/commit/2c2260e690d9c41c2c6045723778793e2552561d)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.14.1 ([d1d479f](https://github.com/tj-actions/changed-files/commit/d1d479f03cc2b2e212605632b30c91f85857eb16)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.5 ([#2168](https://github.com/tj-actions/changed-files/issues/2168))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([9adb915](https://github.com/tj-actions/changed-files/commit/9adb9156b8a8e8484b0c33cb2fdd63f3287b0e89)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.5](https://github.com/tj-actions/changed-files/compare/v44.5.4...v44.5.5) - (2024-06-24)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Remove debug lines ([#2166](https://github.com/tj-actions/changed-files/issues/2166)) ([cc73385](https://github.com/tj-actions/changed-files/commit/cc733854b1f224978ef800d29e4709d5ee2883e4)) - (Tonye Jack)
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.4 ([#2165](https://github.com/tj-actions/changed-files/issues/2165))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([0b99ecf](https://github.com/tj-actions/changed-files/commit/0b99ecfd4efe684550ba7ef222cdf6b36964c890)) - (tj-actions[bot])
|
||||
|
||||
# [44.5.4](https://github.com/tj-actions/changed-files/compare/v44.5.3...v44.5.4) - (2024-06-23)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Error using since_last_remote_commit with the first PR commit ([#2163](https://github.com/tj-actions/changed-files/issues/2163)) ([cc3bbb0](https://github.com/tj-actions/changed-files/commit/cc3bbb0c526f8ee1d282f8c5f9f4e50745a5b457)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @octokit/rest to v21 ([#2158](https://github.com/tj-actions/changed-files/issues/2158)) ([7891350](https://github.com/tj-actions/changed-files/commit/7891350b8e5530e6284113b15f753f9673276d1c)) - (renovate[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.14.8 ([373db58](https://github.com/tj-actions/changed-files/commit/373db58d9d98a3002e86f6881421378d7be4de26)) - (renovate[bot])
|
||||
- **deps-dev:** Bump @types/uuid from 9.0.8 to 10.0.0 ([#2160](https://github.com/tj-actions/changed-files/issues/2160)) ([9161a8d](https://github.com/tj-actions/changed-files/commit/9161a8dcde05a2a3b845745c47574885a33fd5e5)) - (dependabot[bot])
|
||||
- **deps:** Update dependency @types/node to v20.14.7 ([457e041](https://github.com/tj-actions/changed-files/commit/457e041909e8e6db7872dbc85f43d3fea4a72f72)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.5.3 ([#2154](https://github.com/tj-actions/changed-files/issues/2154))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([e13fb92](https://github.com/tj-actions/changed-files/commit/e13fb92d451df65cea1041a85dd4a3b24153d155)) - (tj-actions[bot])
|
||||
|
||||
# [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
|
||||
|
||||
- Add support for specifying the max number for retries to fetch missing history ([#2052](https://github.com/tj-actions/changed-files/issues/2052)) ([07c64e5](https://github.com/tj-actions/changed-files/commit/07c64e56185e44568aa942ce23164b22828747eb)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#2053](https://github.com/tj-actions/changed-files/issues/2053))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([4c5f5d6](https://github.com/tj-actions/changed-files/commit/4c5f5d698fbf2d763d5f13815ac7c2ccbef1ff7f)) - (tj-actions[bot])
|
||||
- Updated README.md ([#2049](https://github.com/tj-actions/changed-files/issues/2049))
|
||||
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([831e892](https://github.com/tj-actions/changed-files/commit/831e892562944fa1fa9356c6b6e231553148f7bc)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.1.0 ([#2050](https://github.com/tj-actions/changed-files/issues/2050))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([5bd3332](https://github.com/tj-actions/changed-files/commit/5bd333239b5f6fc69dcea71aafdd8c9da21aa0a2)) - (tj-actions[bot])
|
||||
|
||||
# [44.1.0](https://github.com/tj-actions/changed-files/compare/v44.0.1...v44.1.0) - (2024-04-17)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add option to exclude submodules when detecting changes ([#2047](https://github.com/tj-actions/changed-files/issues/2047)) ([e052d30](https://github.com/tj-actions/changed-files/commit/e052d30e1c0bdf27cd806b01ca3b393f47b50c62)) - (Tonye Jack)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([d477ae5](https://github.com/tj-actions/changed-files/commit/d477ae513d5b52384bbf032bcc395a548501f3fc)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.0.4 ([23a4490](https://github.com/tj-actions/changed-files/commit/23a449039c6fee9756073fb578b2659e524ea07a)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.7.0 ([60e2739](https://github.com/tj-actions/changed-files/commit/60e2739e15ad6e8a2d5a3b2c8c2d420894687405)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([0f319d7](https://github.com/tj-actions/changed-files/commit/0f319d742554833419bdc95d68ecb50ccebcd39d)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([5891cbd](https://github.com/tj-actions/changed-files/commit/5891cbdfd5eb99762cc467c50ed8b39f26cc9d74)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/micromatch to v4.0.7 ([c9eaa5c](https://github.com/tj-actions/changed-files/commit/c9eaa5c000b860baef243fabe5562a694dc58c0e)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.0.3 ([fd91508](https://github.com/tj-actions/changed-files/commit/fd91508dbb9a3cf89ed4b32684b6eeb925e0e157)) - (renovate[bot])
|
||||
- **deps:** Update dependency typescript to v5.4.5 ([e8a7e82](https://github.com/tj-actions/changed-files/commit/e8a7e822693e723321608f9be7209c66c3f74860)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44.0.1 ([#2037](https://github.com/tj-actions/changed-files/issues/2037))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([159b053](https://github.com/tj-actions/changed-files/commit/159b05372c2d806218e9370a3e877b6d9db80737)) - (tj-actions[bot])
|
||||
|
||||
# [44.0.1](https://github.com/tj-actions/changed-files/compare/v44.0.0...v44.0.1) - (2024-04-09)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- **deps:** Update dependency @octokit/rest to v20.1.0 ([57d40e6](https://github.com/tj-actions/changed-files/commit/57d40e662d530daae769897d18bded8d3cf4263b)) - (renovate[bot])
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
||||
- Added missing changes and modified dist assets.
|
||||
([5f084a5](https://github.com/tj-actions/changed-files/commit/5f084a52a4aa792443ce2bbb4a91daa956a83c4f)) - (GitHub Action)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.12.7 ([635f118](https://github.com/tj-actions/changed-files/commit/635f118699dd888d737c15018cd30aff2e0274f8)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.6 ([634b615](https://github.com/tj-actions/changed-files/commit/634b61511ee053fabd2cfaaf72201ee2aba54a71)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.6.0 ([77fcf43](https://github.com/tj-actions/changed-files/commit/77fcf43160285ab257bfa4b0ef824674404bb585)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([ff2cb1b](https://github.com/tj-actions/changed-files/commit/ff2cb1b4f2d5b477f5e0720e406ebb59af963a5b)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.2.0 ([5d5da31](https://github.com/tj-actions/changed-files/commit/5d5da31340cc6c5ce75e99ca8e5436aeda1c111f)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28.1.1 ([29bc0d3](https://github.com/tj-actions/changed-files/commit/29bc0d3fd93da8b4eae1bc7568d193b2092baf9c)) - (renovate[bot])
|
||||
- **deps:** Update dependency eslint-plugin-jest to v28 ([#2030](https://github.com/tj-actions/changed-files/issues/2030)) ([c9f9d57](https://github.com/tj-actions/changed-files/commit/c9f9d5784e44a3f04e2995c42e6ca15f7c41374b)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.5 ([a4fba01](https://github.com/tj-actions/changed-files/commit/a4fba0109cdb1460d2d6a345cbe68883a3efec47)) - (renovate[bot])
|
||||
- **deps:** Bump undici from 5.28.3 to 5.28.4 ([#2026](https://github.com/tj-actions/changed-files/issues/2026)) ([8a65461](https://github.com/tj-actions/changed-files/commit/8a6546164ab50b552bf37a71eb624e115731c3ee)) - (dependabot[bot])
|
||||
- **deps:** Update dependency typescript to v5.4.4 ([bad2eb6](https://github.com/tj-actions/changed-files/commit/bad2eb6859141c0628b71ff4ae0fa1a39a8cfd1a)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.4 ([b2dbd42](https://github.com/tj-actions/changed-files/commit/b2dbd4264a1b1ffc90b7b807d01e572eaf935f06)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.3 ([185549c](https://github.com/tj-actions/changed-files/commit/185549c022e131c14c82c9ddfd42ca3fc4a503c2)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.5.0 ([f853fd0](https://github.com/tj-actions/changed-files/commit/f853fd059210921daf74c68d70c6f77b2dd21f8c)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([cd3c6e6](https://github.com/tj-actions/changed-files/commit/cd3c6e6bbdabefdea4c7311299eacf440eefabaf)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.12.2 ([e5ce44a](https://github.com/tj-actions/changed-files/commit/e5ce44a30190a3af4c81b960587845596e2300ca)) - (renovate[bot])
|
||||
- **deps:** Update tj-actions/eslint-changed-files action to v24 ([#2019](https://github.com/tj-actions/changed-files/issues/2019)) ([ccdcd17](https://github.com/tj-actions/changed-files/commit/ccdcd17ffd1350eb36c1ff43637d0dbd40b8cdfb)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v44 ([#2017](https://github.com/tj-actions/changed-files/issues/2017))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([e4b8daf](https://github.com/tj-actions/changed-files/commit/e4b8dafc5d0002cc57a632e6a376df5c8c368481)) - (tj-actions[bot])
|
||||
|
||||
# [44.0.0](https://github.com/tj-actions/changed-files/compare/v43.0.1...v44.0.0) - (2024-03-27)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Ensure the fork remote doesn't exists before creating it ([#2012](https://github.com/tj-actions/changed-files/issues/2012)) ([4bbd49b](https://github.com/tj-actions/changed-files/commit/4bbd49b9986b1300b75e8efb5778350b750ae6c8)) - (Tonye Jack)
|
||||
- Update previos sha for forks ([#2011](https://github.com/tj-actions/changed-files/issues/2011)) ([f0e7702](https://github.com/tj-actions/changed-files/commit/f0e7702ccc35952acb83edeb7400b05c0a67e2be)) - (Tonye Jack)
|
||||
- Update to add the fork remote ([#2010](https://github.com/tj-actions/changed-files/issues/2010)) ([6354e6c](https://github.com/tj-actions/changed-files/commit/6354e6c5426d1e7c7a2d8a5887e26b535837958e)) - (Tonye Jack)
|
||||
- Check for setting remote urls for forks ([#2009](https://github.com/tj-actions/changed-files/issues/2009)) ([1176164](https://github.com/tj-actions/changed-files/commit/117616472fb771d9e030aa0c3741057ad520d9cf)) - (Tonye Jack)
|
||||
- Bug with prs from forks returning incorrect set of changed files ([#2007](https://github.com/tj-actions/changed-files/issues/2007)) ([4ff7936](https://github.com/tj-actions/changed-files/commit/4ff79362e5015d6d0c6c0050b3082c97a5b7e84a)) - (Tonye Jack)
|
||||
|
||||
## <!-- 17 -->➖ Remove
|
||||
|
||||
- Unused code ([#2014](https://github.com/tj-actions/changed-files/issues/2014)) ([90941b3](https://github.com/tj-actions/changed-files/commit/90941b398f6d8d3ade3e2b8f179d0c64f3679de6)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#2016](https://github.com/tj-actions/changed-files/issues/2016))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([2d756ea](https://github.com/tj-actions/changed-files/commit/2d756ea4c53f7f6b397767d8723b3a10a9f35bf2)) - (tj-actions[bot])
|
||||
- Update README.md ([2d21bbb](https://github.com/tj-actions/changed-files/commit/2d21bbb405b3e0e15479b93c4d9989b4b780a266)) - (Tonye Jack)
|
||||
- Updated README.md ([#2013](https://github.com/tj-actions/changed-files/issues/2013))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([2ca8dc4](https://github.com/tj-actions/changed-files/commit/2ca8dc42f60aab6d0f54beb4e1bd63f15aa53632)) - (tj-actions[bot])
|
||||
- Update README.md ([4621617](https://github.com/tj-actions/changed-files/commit/4621617d4b568fe72798b05a512482442405549c)) - (tonyejack1)
|
||||
- Update README.md ([c6557ed](https://github.com/tj-actions/changed-files/commit/c6557ed000b9d1dbc0abcb5c2a7efc1ef3baa379)) - (Tonye Jack)
|
||||
- Update README.md ([0713a11](https://github.com/tj-actions/changed-files/commit/0713a11242c796d0e601c9ac8f009c2beed0d646)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- Update description of outputs removing asterisks ([#2015](https://github.com/tj-actions/changed-files/issues/2015)) ([ce497c3](https://github.com/tj-actions/changed-files/commit/ce497c39e9043c5dec72f4506445f6b5dbd1f027)) - (tonyejack1)
|
||||
- Update description of other_deleted_files output ([#2008](https://github.com/tj-actions/changed-files/issues/2008)) ([ee096d6](https://github.com/tj-actions/changed-files/commit/ee096d679e877096b9d6e42066f654e0d9d65b1a)) - (tonyejack1)
|
||||
- **deps:** Update typescript-eslint monorepo to v7.4.0 ([0647424](https://github.com/tj-actions/changed-files/commit/064742427d8106b59345e3fabb40031068c82c41)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([efe5e6c](https://github.com/tj-actions/changed-files/commit/efe5e6c7a415f33e8936dea8c45a8fe80be66a92)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v43.0.1 ([#2004](https://github.com/tj-actions/changed-files/issues/2004))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([01e9662](https://github.com/tj-actions/changed-files/commit/01e9662a12a71c5aea74e82ca1c58fa76a640c61)) - (tj-actions[bot])
|
||||
|
||||
# [43.0.1](https://github.com/tj-actions/changed-files/compare/v43.0.0...v43.0.1) - (2024-03-20)
|
||||
|
||||
## <!-- 1 -->🐛 Bug Fixes
|
||||
|
||||
- Remove warning with detecting the local git repository when using Github's REST API ([#2002](https://github.com/tj-actions/changed-files/issues/2002)) ([077b23f](https://github.com/tj-actions/changed-files/commit/077b23f6a68d9322b1b4ed4d0c88791b30b314d8)) - (Tonye Jack)
|
||||
|
||||
## <!-- 13 -->📦 Bumps
|
||||
|
||||
- Bump @typescript-eslint/eslint-plugin from 7.3.0 to 7.3.1 ([#1995](https://github.com/tj-actions/changed-files/issues/1995))
|
||||
|
||||
Signed-off-by: dependabot[bot] <support@github.com>
|
||||
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([5c6aa49](https://github.com/tj-actions/changed-files/commit/5c6aa4947834d6dd7af1de76ed0e000a8cbc0964)) - (dependabot[bot])
|
||||
- Bump @typescript-eslint/parser from 7.3.0 to 7.3.1 ([#1996](https://github.com/tj-actions/changed-files/issues/1996))
|
||||
|
||||
Signed-off-by: dependabot[bot] <support@github.com>
|
||||
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([0320702](https://github.com/tj-actions/changed-files/commit/0320702dd5d94814f6c31f81f51dda71ff2d2afc)) - (dependabot[bot])
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Update README.md ([2859a60](https://github.com/tj-actions/changed-files/commit/2859a60726ea6e36242029176333d2d37880bbc5)) - (Tonye Jack)
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency typescript to v5.4.3 ([20576b4](https://github.com/tj-actions/changed-files/commit/20576b4b9ed46d41e2d45a2256e5e2316dde6834)) - (renovate[bot])
|
||||
- Update inputs.ts adding comment about fetch_depth ([#2000](https://github.com/tj-actions/changed-files/issues/2000)) ([0276805](https://github.com/tj-actions/changed-files/commit/02768050b13fdd81ec63a329d99c63c70c0498d5)) - (Tonye Jack)
|
||||
- **deps:** Update dependency @types/node to v20.11.30 ([427adf4](https://github.com/tj-actions/changed-files/commit/427adf47f0f2cc0562d8ed340e6ada019719e4ed)) - (renovate[bot])
|
||||
- **deps:** Update dependency @typescript-eslint/eslint-plugin to v7.3.1 ([aa0b62a](https://github.com/tj-actions/changed-files/commit/aa0b62a2d0821235d320c725d8a3ac5eaa3d227a)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.29 ([3890368](https://github.com/tj-actions/changed-files/commit/38903688b4f76a85d37c033f85de20dc15cae06f)) - (renovate[bot])
|
||||
- **deps:** Update typescript-eslint monorepo to v7.3.0 ([98a74d2](https://github.com/tj-actions/changed-files/commit/98a74d2cd69797eb746b5f87fc277dd48b6fecb7)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([068000d](https://github.com/tj-actions/changed-files/commit/068000d9c6712e4e03b15f450774548890556fc7)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.28 ([490ac39](https://github.com/tj-actions/changed-files/commit/490ac3999ea698495f8c32c2936450b9db118b2d)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v43 ([#1990](https://github.com/tj-actions/changed-files/issues/1990))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([d03038e](https://github.com/tj-actions/changed-files/commit/d03038e4e418521b091b356b50cff5d7be177c78)) - (tj-actions[bot])
|
||||
|
||||
# [43.0.0](https://github.com/tj-actions/changed-files/compare/v42.1.0...v43.0.0) - (2024-03-13)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add support for returning true for `any_{changed, modified, deleted}` outputs when no patterns are specified ([#1988](https://github.com/tj-actions/changed-files/issues/1988)) ([a5cf6aa](https://github.com/tj-actions/changed-files/commit/a5cf6aa30cfbe1e0764d2aa5e9f42edb847b6d55)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#1989](https://github.com/tj-actions/changed-files/issues/1989))
|
||||
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([77af4be](https://github.com/tj-actions/changed-files/commit/77af4bed286740ef1a6387dc4e4e4dec39f96054)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 7 -->⚙️ Miscellaneous Tasks
|
||||
|
||||
- **deps:** Update dependency @types/node to v20.11.27 ([15807c9](https://github.com/tj-actions/changed-files/commit/15807c9c84ec7ff092c52f2f9fecc600e81420f1)) - (renovate[bot])
|
||||
- **deps:** Update peter-evans/create-pull-request action to v6.0.2 ([dc458cf](https://github.com/tj-actions/changed-files/commit/dc458cf7531fd39dcf942beb39ef6bdcaddc9715)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/lodash to v4.17.0 ([92ca3ee](https://github.com/tj-actions/changed-files/commit/92ca3eebd01cb3fc4d88a4cbd10f344ea4a116d3)) - (renovate[bot])
|
||||
- **deps:** Update dependency @typescript-eslint/eslint-plugin to v7.2.0 ([f591d0c](https://github.com/tj-actions/changed-files/commit/f591d0c7f0b790ca8c139ce92ff4e8c238cb8940)) - (renovate[bot])
|
||||
- **deps:** Update dependency @types/node to v20.11.26 ([3502336](https://github.com/tj-actions/changed-files/commit/35023362e2b0ff1cd9b970167a1603614e1ad854)) - (renovate[bot])
|
||||
- **deps:** Update dependency @typescript-eslint/parser to v7.2.0 ([e436cb6](https://github.com/tj-actions/changed-files/commit/e436cb6d85bcd4aecab64c542f2268998a1cdd2f)) - (renovate[bot])
|
||||
- **deps:** Lock file maintenance ([257d47d](https://github.com/tj-actions/changed-files/commit/257d47dfba22be3e0a17f6bad47ff07f7e76747c)) - (renovate[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.1.0 ([#1977](https://github.com/tj-actions/changed-files/issues/1977))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([4918e11](https://github.com/tj-actions/changed-files/commit/4918e1183080b35a085c91c8abc9e6adc4de61a1)) - (tj-actions[bot])
|
||||
|
||||
# [42.1.0](https://github.com/tj-actions/changed-files/compare/v42.0.7...v42.1.0) - (2024-03-09)
|
||||
|
||||
## <!-- 0 -->🚀 Features
|
||||
|
||||
- Add matrix alias to simplify using outputs for matrix jobs ([#1975](https://github.com/tj-actions/changed-files/issues/1975)) ([008ba8c](https://github.com/tj-actions/changed-files/commit/008ba8ceec9f1757264e0512542d5ecab6d87ae6)) - (Tonye Jack)
|
||||
|
||||
## <!-- 26 -->🔄 Update
|
||||
|
||||
- Updated README.md ([#1976](https://github.com/tj-actions/changed-files/issues/1976))
|
||||
|
||||
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([aa08304](https://github.com/tj-actions/changed-files/commit/aa08304bd477b800d468db44fe10f6c61f7f7b11)) - (tj-actions[bot])
|
||||
|
||||
## <!-- 9 -->⬆️ Upgrades
|
||||
|
||||
- Upgraded to v42.0.7 ([#1974](https://github.com/tj-actions/changed-files/issues/1974))
|
||||
|
||||
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([fe6c3ea](https://github.com/tj-actions/changed-files/commit/fe6c3ea0ca88f25e4ba51fa00c27bb5dd06cb08a)) - (tj-actions[bot])
|
||||
|
||||
# [42.0.7](https://github.com/tj-actions/changed-files/compare/v42.0.6...v42.0.7) - (2024-03-07)
|
||||
|
||||
## <!-- 16 -->➕ Add
|
||||
|
395
README.md
395
README.md
@ -9,7 +9,7 @@
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
|
||||
[](#contributors-)
|
||||
[](#contributors-)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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).
|
||||
@ -116,15 +116,13 @@ jobs:
|
||||
name: Test changed-files
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
# Example 1
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
|
||||
# with:
|
||||
# since_last_remote_commit: true
|
||||
@ -142,11 +140,12 @@ jobs:
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get all changed markdown files
|
||||
id: changed-markdown-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
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'
|
||||
@ -162,7 +161,7 @@ jobs:
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get all test, doc and src files that have changed
|
||||
id: changed-files-yaml
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files_yaml: |
|
||||
doc:
|
||||
@ -197,7 +196,7 @@ jobs:
|
||||
# -----------------------------------------------------------------------------------------------------------
|
||||
- name: Get changed files in the docs folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files: docs/*.{js,html} # Alternatively using: `docs/**`
|
||||
files_ignore: docs/static.js
|
||||
@ -229,7 +228,7 @@ jobs:
|
||||
# NOTE:
|
||||
# - This is limited to pull_request* events and would raise an error for other events.
|
||||
# - A maximum of 3000 files can be returned.
|
||||
# - For more flexibility and no limitations see "Using local .git history" above.
|
||||
# - For more flexibility and no limitations see "Using local .git directory" above.
|
||||
|
||||
runs-on: ubuntu-latest # windows-latest || macos-latest
|
||||
name: Test changed-files
|
||||
@ -239,7 +238,7 @@ jobs:
|
||||
steps:
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
|
||||
- name: List all changed files
|
||||
env:
|
||||
@ -282,7 +281,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
|
||||
|
||||
- name: List all changed files
|
||||
@ -322,14 +321,14 @@ Support this project with a :star:
|
||||
> * When using `files_yaml*` inputs:
|
||||
> * All keys must start with a letter or `_` and contain only alphanumeric characters, `-`, or `_`.
|
||||
>
|
||||
> For example, `test` or `test_key` or `test-key` or `_test_key` are all valid.
|
||||
> For example, `test` or `test_key` or `test-key` or `_test_key` are all valid choices.
|
||||
|
||||
## Inputs ⚙️
|
||||
|
||||
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
|
||||
|
||||
```yaml
|
||||
- uses: tj-actions/changed-files@v42
|
||||
- uses: tj-actions/changed-files@v45
|
||||
id: changed-files
|
||||
with:
|
||||
# Github API URL.
|
||||
@ -337,52 +336,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: ''
|
||||
|
||||
@ -391,12 +406,19 @@ Support this project with a :star:
|
||||
# Default: "true"
|
||||
escape_json: ''
|
||||
|
||||
# Fail when the initial diff fails.
|
||||
# Exclude changes to submodules.
|
||||
# Type: boolean
|
||||
# Default: "false"
|
||||
exclude_submodules: ''
|
||||
|
||||
# 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: ''
|
||||
@ -406,112 +428,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: ''
|
||||
|
||||
# File and directory patterns used to detect changes (Defaults to the entire repo if unset).
|
||||
# NOTE: Multiline file/directory patterns should not include quotes.
|
||||
# Maximum number of retries to
|
||||
# fetch missing history.
|
||||
# Type: string
|
||||
# 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.
|
||||
# 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: ''
|
||||
@ -521,19 +571,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: ''
|
||||
@ -543,35 +596,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: ''
|
||||
@ -581,53 +640,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: ''
|
||||
@ -664,33 +753,33 @@ Support this project with a :star:
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| <a name="output_added_files"></a>[added\_files](#output_added_files) | string | Returns only files that are <br>Added (A). |
|
||||
| <a name="output_added_files_count"></a>[added\_files\_count](#output_added_files_count) | string | Returns the number of `added_files` |
|
||||
| <a name="output_all_changed_and_modified_files"></a>[all\_changed\_and\_modified\_files](#output_all_changed_and_modified_files) | string | Returns all changed and modified <br>files i.e. *a combination of (ACMRDTUX)* |
|
||||
| <a name="output_all_changed_and_modified_files"></a>[all\_changed\_and\_modified\_files](#output_all_changed_and_modified_files) | string | Returns all changed and modified <br>files i.e. a combination of <br>(ACMRDTUX) |
|
||||
| <a name="output_all_changed_and_modified_files_count"></a>[all\_changed\_and\_modified\_files\_count](#output_all_changed_and_modified_files_count) | string | Returns the number of `all_changed_and_modified_files` |
|
||||
| <a name="output_all_changed_files"></a>[all\_changed\_files](#output_all_changed_files) | string | Returns all changed files i.e. <br>*a combination of all added, copied, modified and renamed files (ACMR)* |
|
||||
| <a name="output_all_changed_files"></a>[all\_changed\_files](#output_all_changed_files) | string | Returns all changed files i.e. <br>a combination of all added, <br>copied, modified and renamed files <br>(ACMR) |
|
||||
| <a name="output_all_changed_files_count"></a>[all\_changed\_files\_count](#output_all_changed_files_count) | string | Returns the number of `all_changed_files` |
|
||||
| <a name="output_all_modified_files"></a>[all\_modified\_files](#output_all_modified_files) | string | Returns all changed files i.e. <br>*a combination of all added, copied, modified, renamed and deleted files (ACMRD)*. |
|
||||
| <a name="output_all_modified_files"></a>[all\_modified\_files](#output_all_modified_files) | string | Returns all changed files i.e. <br>a combination of all added, <br>copied, modified, renamed and deleted <br>files (ACMRD). |
|
||||
| <a name="output_all_modified_files_count"></a>[all\_modified\_files\_count](#output_all_modified_files_count) | string | Returns the number of `all_modified_files` |
|
||||
| <a name="output_all_old_new_renamed_files"></a>[all\_old\_new\_renamed\_files](#output_all_old_new_renamed_files) | string | Returns only files that are <br>Renamed and lists their old <br>and new names. **NOTE:** This <br>requires setting `include_all_old_new_renamed_files` to `true`. <br>Also, keep in mind that <br>this output is global and <br>wouldn't be nested in outputs <br>generated when the `*_yaml_*` input <br>is used. (R) |
|
||||
| <a name="output_all_old_new_renamed_files_count"></a>[all\_old\_new\_renamed\_files\_count](#output_all_old_new_renamed_files_count) | string | Returns the number of `all_old_new_renamed_files` |
|
||||
| <a name="output_any_changed"></a>[any\_changed](#output_any_changed) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have changed. i.e. <br>*includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_any_deleted"></a>[any\_deleted](#output_any_deleted) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs has been deleted. <br>(D) |
|
||||
| <a name="output_any_modified"></a>[any\_modified](#output_any_modified) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs has been modified. <br>i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*. |
|
||||
| <a name="output_changed_keys"></a>[changed\_keys](#output_changed_keys) | string | Returns all changed YAML keys <br>when the `files_yaml` input is <br>used. i.e. *key that contains any path that has either been added, copied, modified, and renamed (ACMR)* |
|
||||
| <a name="output_any_changed"></a>[any\_changed](#output_any_changed) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have changed. This <br>defaults to `true` when no <br>patterns are specified. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_any_deleted"></a>[any\_deleted](#output_any_deleted) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have been deleted. <br>This defaults to `true` when <br>no patterns are specified. (D) |
|
||||
| <a name="output_any_modified"></a>[any\_modified](#output_any_modified) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have been modified. <br>This defaults to `true` when <br>no patterns are specified. i.e. <br>*includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*. |
|
||||
| <a name="output_changed_keys"></a>[changed\_keys](#output_changed_keys) | string | Returns all changed YAML keys <br>when the `files_yaml` input is <br>used. i.e. key that contains <br>any path that has either <br>been added, copied, modified, and <br>renamed (ACMR) |
|
||||
| <a name="output_copied_files"></a>[copied\_files](#output_copied_files) | string | Returns only files that are <br>Copied (C). |
|
||||
| <a name="output_copied_files_count"></a>[copied\_files\_count](#output_copied_files_count) | string | Returns the number of `copied_files` |
|
||||
| <a name="output_deleted_files"></a>[deleted\_files](#output_deleted_files) | string | Returns only files that are <br>Deleted (D). |
|
||||
| <a name="output_deleted_files_count"></a>[deleted\_files\_count](#output_deleted_files_count) | string | Returns the number of `deleted_files` |
|
||||
| <a name="output_modified_files"></a>[modified\_files](#output_modified_files) | string | Returns only files that are <br>Modified (M). |
|
||||
| <a name="output_modified_files_count"></a>[modified\_files\_count](#output_modified_files_count) | string | Returns the number of `modified_files` |
|
||||
| <a name="output_modified_keys"></a>[modified\_keys](#output_modified_keys) | string | Returns all modified YAML keys <br>when the `files_yaml` input is <br>used. i.e. *key that contains any path that has either been added, copied, modified, and deleted (ACMRD)* |
|
||||
| <a name="output_modified_keys"></a>[modified\_keys](#output_modified_keys) | string | Returns all modified YAML keys <br>when the `files_yaml` input is <br>used. i.e. key that contains <br>any path that has either <br>been added, copied, modified, and <br>deleted (ACMRD) |
|
||||
| <a name="output_only_changed"></a>[only\_changed](#output_only_changed) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_only_deleted"></a>[only\_deleted](#output_only_deleted) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>has been deleted. (D) |
|
||||
| <a name="output_only_modified"></a>[only\_modified](#output_only_modified) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>has been modified. (ACMRD). |
|
||||
| <a name="output_other_changed_files"></a>[other\_changed\_files](#output_other_changed_files) | string | Returns all other changed files <br>not listed in the files <br>input i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*. |
|
||||
| <a name="output_only_deleted"></a>[only\_deleted](#output_only_deleted) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>have been deleted. (D) |
|
||||
| <a name="output_only_modified"></a>[only\_modified](#output_only_modified) | string | Returns `true` when only files <br>provided using the `files*` or `files_ignore*` inputs <br>have been modified. (ACMRD). |
|
||||
| <a name="output_other_changed_files"></a>[other\_changed\_files](#output_other_changed_files) | string | Returns all other changed files <br>not listed in the files <br>input i.e. includes a combination <br>of all added, copied, modified <br>and renamed files (ACMR). |
|
||||
| <a name="output_other_changed_files_count"></a>[other\_changed\_files\_count](#output_other_changed_files_count) | string | Returns the number of `other_changed_files` |
|
||||
| <a name="output_other_deleted_files"></a>[other\_deleted\_files](#output_other_deleted_files) | string | Returns all other deleted files <br>not listed in the files <br>input i.e. *a combination of all deleted files (D)* |
|
||||
| <a name="output_other_deleted_files"></a>[other\_deleted\_files](#output_other_deleted_files) | string | Returns all other deleted files <br>not listed in the files <br>input i.e. a combination of <br>all deleted files (D) |
|
||||
| <a name="output_other_deleted_files_count"></a>[other\_deleted\_files\_count](#output_other_deleted_files_count) | string | Returns the number of `other_deleted_files` |
|
||||
| <a name="output_other_modified_files"></a>[other\_modified\_files](#output_other_modified_files) | string | Returns all other modified files <br>not listed in the files <br>input i.e. *a combination of all added, copied, modified, and deleted files (ACMRD)* |
|
||||
| <a name="output_other_modified_files"></a>[other\_modified\_files](#output_other_modified_files) | string | Returns all other modified files <br>not listed in the files <br>input i.e. a combination of <br>all added, copied, modified, and <br>deleted files (ACMRD) |
|
||||
| <a name="output_other_modified_files_count"></a>[other\_modified\_files\_count](#output_other_modified_files_count) | string | Returns the number of `other_modified_files` |
|
||||
| <a name="output_renamed_files"></a>[renamed\_files](#output_renamed_files) | string | Returns only files that are <br>Renamed (R). |
|
||||
| <a name="output_renamed_files_count"></a>[renamed\_files\_count](#output_renamed_files_count) | string | Returns the number of `renamed_files` |
|
||||
@ -724,7 +813,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
...
|
||||
```
|
||||
|
||||
@ -737,7 +826,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
|
||||
|
||||
@ -760,7 +849,7 @@ The format of the version string is as follows:
|
||||
...
|
||||
- name: Get all changed files and use a comma separator in the output
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
separator: ","
|
||||
...
|
||||
@ -777,7 +866,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
|
||||
- name: List all added files
|
||||
env:
|
||||
@ -800,7 +889,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
|
||||
- name: Run a step if my-file.txt was modified
|
||||
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
|
||||
@ -821,7 +910,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
|
||||
- name: Get changed files and write the outputs to a Txt file
|
||||
id: changed-files-write-output-files-txt
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
write_output_files: true
|
||||
|
||||
@ -840,7 +929,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files and write the outputs to a JSON file
|
||||
id: changed-files-write-output-files-json
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
json: true
|
||||
write_output_files: true
|
||||
@ -860,7 +949,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@ -883,7 +972,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@ -934,7 +1023,7 @@ See [outputs](#outputs) for a list of all available outputs.
|
||||
...
|
||||
- name: Get changed files using a source file or list of file(s) to populate to files input.
|
||||
id: changed-files-specific-source-file
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files_from_source_file: test/changed-files-list.txt
|
||||
...
|
||||
@ -951,7 +1040,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
|
||||
id: changed-files-specific-source-file-and-specify-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@ -972,7 +1061,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a different SHA
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
sha: ${{ github.event.pull_request.head.sha }}
|
||||
...
|
||||
@ -989,7 +1078,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed files using a different base SHA
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
base_sha: ${{ github.event.pull_request.base.sha }}
|
||||
...
|
||||
@ -1021,7 +1110,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
|
||||
- name: List changed files
|
||||
env:
|
||||
@ -1031,7 +1120,7 @@ jobs:
|
||||
|
||||
- name: Get changed files in the .github folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files: .github/**
|
||||
|
||||
@ -1062,14 +1151,13 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
- name: Run changed-files with defaults in dir1
|
||||
id: changed-files-for-dir1
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
- name: List all added files in dir1
|
||||
env:
|
||||
ADDED_FILES: |-
|
||||
${{ steps.changed-files-for-dir1.outputs.added_files }}
|
||||
ADDED_FILES: ${{ steps.changed-files-for-dir1.outputs.added_files }}
|
||||
run: |
|
||||
for file in ${ADDED_FILES}; do
|
||||
echo "$file was added"
|
||||
@ -1088,13 +1176,13 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with quotepath disabled
|
||||
id: changed-files-quotepath
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
quotepath: "false"
|
||||
|
||||
- name: Run changed-files with quotepath disabled for a specified list of file(s)
|
||||
id: changed-files-quotepath-specific
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
files: test/test-è.txt
|
||||
quotepath: "false"
|
||||
@ -1127,7 +1215,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
- name: Run changed-files with the commit of the last successful test workflow run
|
||||
id: changed-files-base-sha-push
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
|
||||
...
|
||||
@ -1154,7 +1242,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
|
||||
id: changed-files-base-sha-pull-request
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
|
||||
...
|
||||
@ -1180,7 +1268,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with dir_names
|
||||
id: changed-files-dir-names
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
dir_names: "true"
|
||||
...
|
||||
@ -1197,7 +1285,7 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Run changed-files with JSON output
|
||||
id: changed-files-json
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
json: "true"
|
||||
...
|
||||
@ -1214,13 +1302,13 @@ See [inputs](#inputs) for more information.
|
||||
...
|
||||
- name: Get changed-files since 2022-08-19
|
||||
id: changed-files-since
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
since: "2022-08-19"
|
||||
|
||||
- name: Get changed-files until 2022-08-20
|
||||
id: changed-files-until
|
||||
uses: tj-actions/changed-files@v42
|
||||
uses: tj-actions/changed-files@v45
|
||||
with:
|
||||
until: "2022-08-20"
|
||||
...
|
||||
@ -1252,7 +1340,7 @@ See [inputs](#inputs) for more information.
|
||||
|
||||
* [qmk\_firmware uses tj-actions/changed-files to run linters](https://github.com/qmk/qmk_firmware/blob/7a737235ffd49c32d2c5561e8fe53fd96baa7f96/.github/workflows/lint.yml#L30)
|
||||
|
||||
* [argo-cd uses tj-actions/chnaged-files to detect changed frontend or backend files](https://github.com/argoproj/argo-cd/blob/5bc1850aa1d26301043be9f2fb825d88c80c111c/.github/workflows/ci-build.yaml#L33)
|
||||
* [argo-cd uses tj-actions/changed-files to detect changed frontend or backend files](https://github.com/argoproj/argo-cd/blob/5bc1850aa1d26301043be9f2fb825d88c80c111c/.github/workflows/ci-build.yaml#L33)
|
||||
|
||||
* [argo-workflows uses tj-actions/changed-files to run specific jobs based on changes detected](https://github.com/argoproj/argo-workflows/blob/baef4856ff2603c76dbe277c825eaa3f9788fc91/.github/workflows/ci-build.yaml#L34)
|
||||
|
||||
@ -1309,7 +1397,7 @@ Report bugs at https://github.com/tj-actions/changed-files/issues.
|
||||
If you are reporting a bug, please include:
|
||||
|
||||
* Your operating system name and version.
|
||||
* Any details about your workflow that might be helpful in troubleshooting. (**NOTE**: Ensure that you include full log outputs with debugging enabled)
|
||||
* All essential details about your workflow that might be helpful in troubleshooting. (**NOTE**: Ensure that you include full log outputs with debugging enabled)
|
||||
* Detailed steps to reproduce the bug.
|
||||
|
||||
## Contributors ✨
|
||||
@ -1357,6 +1445,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/dan-hill2802"><img src="https://avatars.githubusercontent.com/u/5046322?v=4?s=100" width="100px;" alt="Daniel Hill"/><br /><sub><b>Daniel Hill</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=dan-hill2802" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://keisukeyamashita.com"><img src="https://avatars.githubusercontent.com/u/23056537?v=4?s=100" width="100px;" alt="KeisukeYamashita"/><br /><sub><b>KeisukeYamashita</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=KeisukeYamashita" title="Documentation">📖</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://github.com/codesculpture"><img src="https://avatars.githubusercontent.com/u/63452117?v=4?s=100" width="100px;" alt="Aravind"/><br /><sub><b>Aravind</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=codesculpture" title="Code">💻</a> <a href="https://github.com/tj-actions/changed-files/issues?q=author%3Acodesculpture" title="Bug reports">🐛</a></td>
|
||||
<td align="center" valign="top" width="14.28%"><a href="https://lukaspfahler.de"><img src="https://avatars.githubusercontent.com/u/2308119?v=4?s=100" width="100px;" alt="Lukas Pfahler"/><br /><sub><b>Lukas Pfahler</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=Whadup" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
49
action.yml
49
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.
|
||||
@ -223,6 +223,27 @@ inputs:
|
||||
description: "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`."
|
||||
required: false
|
||||
default: "false"
|
||||
exclude_submodules:
|
||||
description: "Exclude changes to submodules."
|
||||
required: false
|
||||
default: "false"
|
||||
fetch_missing_history_max_retries:
|
||||
description: "Maximum number of retries to fetch missing history."
|
||||
required: false
|
||||
default: "20"
|
||||
use_posix_path_separator:
|
||||
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:
|
||||
@ -262,45 +283,45 @@ outputs:
|
||||
unknown_files_count:
|
||||
description: "Returns the number of `unknown_files`"
|
||||
all_changed_and_modified_files:
|
||||
description: "Returns all changed and modified files i.e. *a combination of (ACMRDTUX)*"
|
||||
description: "Returns all changed and modified files i.e. a combination of (ACMRDTUX)"
|
||||
all_changed_and_modified_files_count:
|
||||
description: "Returns the number of `all_changed_and_modified_files`"
|
||||
all_changed_files:
|
||||
description: "Returns all changed files i.e. *a combination of all added, copied, modified and renamed files (ACMR)*"
|
||||
description: "Returns all changed files i.e. a combination of all added, copied, modified and renamed files (ACMR)"
|
||||
all_changed_files_count:
|
||||
description: "Returns the number of `all_changed_files`"
|
||||
any_changed:
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have changed. This defaults to `true` when no patterns are specified. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
only_changed:
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
other_changed_files:
|
||||
description: "Returns all other changed files not listed in the files input i.e. *includes a combination of all added, copied, modified and renamed files (ACMR)*."
|
||||
description: "Returns all other changed files not listed in the files input i.e. includes a combination of all added, copied, modified and renamed files (ACMR)."
|
||||
other_changed_files_count:
|
||||
description: "Returns the number of `other_changed_files`"
|
||||
all_modified_files:
|
||||
description: "Returns all changed files i.e. *a combination of all added, copied, modified, renamed and deleted files (ACMRD)*."
|
||||
description: "Returns all changed files i.e. a combination of all added, copied, modified, renamed and deleted files (ACMRD)."
|
||||
all_modified_files_count:
|
||||
description: "Returns the number of `all_modified_files`"
|
||||
any_modified:
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs has been modified. i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*."
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been modified. This defaults to `true` when no patterns are specified. i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*."
|
||||
only_modified:
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs has been modified. (ACMRD)."
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have been modified. (ACMRD)."
|
||||
other_modified_files:
|
||||
description: "Returns all other modified files not listed in the files input i.e. *a combination of all added, copied, modified, and deleted files (ACMRD)*"
|
||||
description: "Returns all other modified files not listed in the files input i.e. a combination of all added, copied, modified, and deleted files (ACMRD)"
|
||||
other_modified_files_count:
|
||||
description: "Returns the number of `other_modified_files`"
|
||||
any_deleted:
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs has been deleted. (D)"
|
||||
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been deleted. This defaults to `true` when no patterns are specified. (D)"
|
||||
only_deleted:
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs has been deleted. (D)"
|
||||
description: "Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have been deleted. (D)"
|
||||
other_deleted_files:
|
||||
description: "Returns all other deleted files not listed in the files input i.e. *a combination of all deleted files (D)*"
|
||||
description: "Returns all other deleted files not listed in the files input i.e. a combination of all deleted files (D)"
|
||||
other_deleted_files_count:
|
||||
description: "Returns the number of `other_deleted_files`"
|
||||
modified_keys:
|
||||
description: "Returns all modified YAML keys when the `files_yaml` input is used. i.e. *key that contains any path that has either been added, copied, modified, and deleted (ACMRD)*"
|
||||
description: "Returns all modified YAML keys when the `files_yaml` input is used. i.e. key that contains any path that has either been added, copied, modified, and deleted (ACMRD)"
|
||||
changed_keys:
|
||||
description: "Returns all changed YAML keys when the `files_yaml` input is used. i.e. *key that contains any path that has either been added, copied, modified, and renamed (ACMR)*"
|
||||
description: "Returns all changed YAML keys when the `files_yaml` input is used. i.e. key that contains any path that has either been added, copied, modified, and renamed (ACMR)"
|
||||
|
||||
runs:
|
||||
using: 'node20'
|
||||
|
14687
dist/index.js
generated
vendored
14687
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
5264
dist/licenses.txt
generated
vendored
5264
dist/licenses.txt
generated
vendored
File diff suppressed because it is too large
Load Diff
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,5 @@
|
||||
const path = require('path')
|
||||
|
||||
process.env.TESTING = "1"
|
||||
process.env.GITHUB_WORKSPACE = path.join(
|
||||
path.resolve(__dirname, '..'), '.'
|
||||
)
|
||||
|
16
package.json
16
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tj-actions/changed-files",
|
||||
"version": "42.0.7",
|
||||
"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": {
|
||||
@ -14,6 +14,7 @@
|
||||
"lint:fix": "eslint --fix src/*.ts src/**/*.ts",
|
||||
"package": "ncc build lib/main.js --source-map --license licenses.txt",
|
||||
"test": "jest --coverage",
|
||||
"update-snapshot": "jest -u",
|
||||
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
|
||||
},
|
||||
"repository": {
|
||||
@ -35,7 +36,8 @@
|
||||
"@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",
|
||||
"yaml": "^2.3.1"
|
||||
@ -44,16 +46,16 @@
|
||||
"@types/jest": "^29.5.2",
|
||||
"@types/lodash": "^4.14.195",
|
||||
"@types/micromatch": "^4.0.2",
|
||||
"@types/node": "^20.3.2",
|
||||
"@types/uuid": "^9.0.2",
|
||||
"@types/node": "^22.0.0",
|
||||
"@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-plugin-github": "^4.8.0",
|
||||
"eslint-plugin-jest": "^27.2.2",
|
||||
"eslint-plugin-prettier": "^5.0.0-alpha.2",
|
||||
"eslint-config-prettier": "^9.0.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",
|
||||
"prettier": "^3.0.0",
|
||||
"ts-jest": "^29.1.0",
|
||||
|
@ -2,55 +2,62 @@
|
||||
|
||||
exports[`getInputs should correctly parse boolean inputs 1`] = `
|
||||
{
|
||||
"apiUrl": undefined,
|
||||
"baseSha": undefined,
|
||||
"apiUrl": "",
|
||||
"baseSha": "",
|
||||
"diffRelative": "false",
|
||||
"dirNames": "false",
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": "false",
|
||||
"dirNamesExcludeCurrentDir": "false",
|
||||
"dirNamesIncludeFiles": undefined,
|
||||
"dirNamesIncludeFilesSeparator": undefined,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": "false",
|
||||
"failOnInitialDiffError": "false",
|
||||
"failOnSubmoduleDiffError": "false",
|
||||
"fetchAdditionalSubmoduleHistory": "false",
|
||||
"files": undefined,
|
||||
"filesFromSourceFile": undefined,
|
||||
"filesFromSourceFileSeparator": undefined,
|
||||
"filesIgnore": undefined,
|
||||
"filesIgnoreFromSourceFile": undefined,
|
||||
"filesIgnoreFromSourceFileSeparator": undefined,
|
||||
"filesIgnoreSeparator": undefined,
|
||||
"filesIgnoreYaml": undefined,
|
||||
"filesIgnoreYamlFromSourceFile": undefined,
|
||||
"filesIgnoreYamlFromSourceFileSeparator": undefined,
|
||||
"filesSeparator": undefined,
|
||||
"filesYaml": undefined,
|
||||
"filesYamlFromSourceFile": undefined,
|
||||
"filesYamlFromSourceFileSeparator": undefined,
|
||||
"fetchMissingHistoryMaxRetries": 20,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": "false",
|
||||
"json": true,
|
||||
"negationPatternsFirst": "false",
|
||||
"oldNewFilesSeparator": undefined,
|
||||
"oldNewSeparator": undefined,
|
||||
"outputDir": undefined,
|
||||
"oldNewFilesSeparator": " ",
|
||||
"oldNewSeparator": ",",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": "false",
|
||||
"path": undefined,
|
||||
"path": ".",
|
||||
"quotepath": "false",
|
||||
"recoverDeletedFiles": "false",
|
||||
"recoverDeletedFilesToDestination": undefined,
|
||||
"recoverFiles": undefined,
|
||||
"recoverFilesIgnore": undefined,
|
||||
"recoverFilesIgnoreSeparator": undefined,
|
||||
"recoverFilesSeparator": undefined,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "
|
||||
",
|
||||
"recoverFilesSeparator": "
|
||||
",
|
||||
"safeOutput": "false",
|
||||
"separator": undefined,
|
||||
"sha": undefined,
|
||||
"since": undefined,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": "false",
|
||||
"skipInitialFetch": "true",
|
||||
"token": undefined,
|
||||
"until": undefined,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "*",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": "false",
|
||||
"useRestApi": "false",
|
||||
"writeOutputFiles": "false",
|
||||
}
|
||||
@ -68,6 +75,7 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": 2,
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
@ -107,8 +115,11 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
@ -125,6 +136,7 @@ exports[`getInputs should correctly parse string inputs 1`] = `
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
@ -163,8 +175,11 @@ exports[`getInputs should correctly parse string inputs 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "token",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
@ -182,6 +197,7 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": 2,
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
@ -221,8 +237,11 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
@ -240,6 +259,7 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"dirNamesMaxDepth": -2,
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
@ -279,8 +299,11 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
@ -288,55 +311,62 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
|
||||
|
||||
exports[`getInputs should return default values when no inputs are provided 1`] = `
|
||||
{
|
||||
"apiUrl": undefined,
|
||||
"baseSha": undefined,
|
||||
"apiUrl": "",
|
||||
"baseSha": "",
|
||||
"diffRelative": true,
|
||||
"dirNames": false,
|
||||
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
|
||||
"dirNamesExcludeCurrentDir": false,
|
||||
"dirNamesIncludeFiles": undefined,
|
||||
"dirNamesIncludeFilesSeparator": undefined,
|
||||
"dirNamesIncludeFiles": "",
|
||||
"dirNamesIncludeFilesSeparator": "",
|
||||
"escapeJson": false,
|
||||
"excludeSubmodules": false,
|
||||
"failOnInitialDiffError": false,
|
||||
"failOnSubmoduleDiffError": false,
|
||||
"fetchAdditionalSubmoduleHistory": false,
|
||||
"files": undefined,
|
||||
"filesFromSourceFile": undefined,
|
||||
"filesFromSourceFileSeparator": undefined,
|
||||
"filesIgnore": undefined,
|
||||
"filesIgnoreFromSourceFile": undefined,
|
||||
"filesIgnoreFromSourceFileSeparator": undefined,
|
||||
"filesIgnoreSeparator": undefined,
|
||||
"filesIgnoreYaml": undefined,
|
||||
"filesIgnoreYamlFromSourceFile": undefined,
|
||||
"filesIgnoreYamlFromSourceFileSeparator": undefined,
|
||||
"filesSeparator": undefined,
|
||||
"filesYaml": undefined,
|
||||
"filesYamlFromSourceFile": undefined,
|
||||
"filesYamlFromSourceFileSeparator": undefined,
|
||||
"fetchMissingHistoryMaxRetries": 20,
|
||||
"files": "",
|
||||
"filesFromSourceFile": "",
|
||||
"filesFromSourceFileSeparator": "",
|
||||
"filesIgnore": "",
|
||||
"filesIgnoreFromSourceFile": "",
|
||||
"filesIgnoreFromSourceFileSeparator": "",
|
||||
"filesIgnoreSeparator": "",
|
||||
"filesIgnoreYaml": "",
|
||||
"filesIgnoreYamlFromSourceFile": "",
|
||||
"filesIgnoreYamlFromSourceFileSeparator": "",
|
||||
"filesSeparator": "",
|
||||
"filesYaml": "",
|
||||
"filesYamlFromSourceFile": "",
|
||||
"filesYamlFromSourceFileSeparator": "",
|
||||
"includeAllOldNewRenamedFiles": false,
|
||||
"json": false,
|
||||
"negationPatternsFirst": false,
|
||||
"oldNewFilesSeparator": undefined,
|
||||
"oldNewSeparator": undefined,
|
||||
"outputDir": undefined,
|
||||
"oldNewFilesSeparator": " ",
|
||||
"oldNewSeparator": ",",
|
||||
"outputDir": "",
|
||||
"outputRenamedFilesAsDeletedAndAdded": false,
|
||||
"path": undefined,
|
||||
"path": ".",
|
||||
"quotepath": true,
|
||||
"recoverDeletedFiles": false,
|
||||
"recoverDeletedFilesToDestination": undefined,
|
||||
"recoverFiles": undefined,
|
||||
"recoverFilesIgnore": undefined,
|
||||
"recoverFilesIgnoreSeparator": undefined,
|
||||
"recoverFilesSeparator": undefined,
|
||||
"recoverDeletedFilesToDestination": "",
|
||||
"recoverFiles": "",
|
||||
"recoverFilesIgnore": "",
|
||||
"recoverFilesIgnoreSeparator": "
|
||||
",
|
||||
"recoverFilesSeparator": "
|
||||
",
|
||||
"safeOutput": false,
|
||||
"separator": undefined,
|
||||
"sha": undefined,
|
||||
"since": undefined,
|
||||
"separator": "",
|
||||
"sha": "",
|
||||
"since": "",
|
||||
"sinceLastRemoteCommit": false,
|
||||
"skipInitialFetch": false,
|
||||
"token": undefined,
|
||||
"until": undefined,
|
||||
"tagsIgnorePattern": "",
|
||||
"tagsPattern": "*",
|
||||
"token": "",
|
||||
"until": "",
|
||||
"usePosixPathSeparator": false,
|
||||
"useRestApi": false,
|
||||
"writeOutputFiles": false,
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ describe('getInputs', () => {
|
||||
})
|
||||
|
||||
test('should return default values when no inputs are provided', () => {
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
@ -30,7 +30,7 @@ describe('getInputs', () => {
|
||||
})
|
||||
|
||||
test('should correctly parse boolean inputs', () => {
|
||||
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
|
||||
;(core.getInput as jest.Mock).mockImplementation(name => {
|
||||
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
|
||||
return g[1].toUpperCase()
|
||||
}) as keyof Inputs
|
||||
|
@ -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'
|
||||
@ -635,7 +637,12 @@ describe('utils test', () => {
|
||||
failOnInitialDiffError: false,
|
||||
failOnSubmoduleDiffError: false,
|
||||
negationPatternsFirst: false,
|
||||
useRestApi: false
|
||||
useRestApi: false,
|
||||
excludeSubmodules: false,
|
||||
fetchMissingHistoryMaxRetries: 20,
|
||||
usePosixPathSeparator: false,
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: ''
|
||||
}
|
||||
|
||||
const coreWarningSpy = jest.spyOn(core, 'warning')
|
||||
@ -651,4 +658,104 @@ describe('utils test', () => {
|
||||
expect(coreWarningSpy).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
})
|
||||
describe('getPreviousGitTag', () => {
|
||||
// Check if the environment variable GITHUB_REPOSITORY_OWNER is 'tj-actions'
|
||||
const shouldSkip = !!process.env.GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK
|
||||
// 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 () => {
|
||||
if (shouldSkip) {
|
||||
return
|
||||
}
|
||||
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 () => {
|
||||
if (shouldSkip) {
|
||||
return
|
||||
}
|
||||
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 () => {
|
||||
if (shouldSkip) {
|
||||
return
|
||||
}
|
||||
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')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
@ -2,6 +2,7 @@ import * as core from '@actions/core'
|
||||
import * as github from '@actions/github'
|
||||
import type {RestEndpointMethodTypes} from '@octokit/rest'
|
||||
import flatten from 'lodash/flatten'
|
||||
import convertPath from '@stdlib/utils-convert-path'
|
||||
import mm from 'micromatch'
|
||||
import * as path from 'path'
|
||||
import {setOutputsAndGetModifiedAndChangedFilesStatus} from './changedFilesOutput'
|
||||
@ -121,13 +122,13 @@ export const processChangedFiles = async ({
|
||||
export const getRenamedFiles = async ({
|
||||
inputs,
|
||||
workingDirectory,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
diffResult,
|
||||
submodulePaths
|
||||
}: {
|
||||
inputs: Inputs
|
||||
workingDirectory: string
|
||||
hasSubmodule: boolean
|
||||
diffSubmodule: boolean
|
||||
diffResult: DiffResult
|
||||
submodulePaths: string[]
|
||||
}): Promise<{paths: string; count: string}> => {
|
||||
@ -139,7 +140,7 @@ export const getRenamedFiles = async ({
|
||||
oldNewSeparator: inputs.oldNewSeparator
|
||||
})
|
||||
|
||||
if (hasSubmodule) {
|
||||
if (diffSubmodule) {
|
||||
for (const submodulePath of submodulePaths) {
|
||||
const submoduleShaResult = await gitSubmoduleDiffSHA({
|
||||
cwd: workingDirectory,
|
||||
@ -217,7 +218,7 @@ export type ChangedFiles = {
|
||||
|
||||
export const getAllDiffFiles = async ({
|
||||
workingDirectory,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
diffResult,
|
||||
submodulePaths,
|
||||
outputRenamedFilesAsDeletedAndAdded,
|
||||
@ -226,7 +227,7 @@ export const getAllDiffFiles = async ({
|
||||
failOnSubmoduleDiffError
|
||||
}: {
|
||||
workingDirectory: string
|
||||
hasSubmodule: boolean
|
||||
diffSubmodule: boolean
|
||||
diffResult: DiffResult
|
||||
submodulePaths: string[]
|
||||
outputRenamedFilesAsDeletedAndAdded: boolean
|
||||
@ -243,7 +244,7 @@ export const getAllDiffFiles = async ({
|
||||
failOnInitialDiffError
|
||||
})
|
||||
|
||||
if (hasSubmodule) {
|
||||
if (diffSubmodule) {
|
||||
for (const submodulePath of submodulePaths) {
|
||||
const submoduleShaResult = await gitSubmoduleDiffSHA({
|
||||
cwd: workingDirectory,
|
||||
@ -355,7 +356,11 @@ function* getChangeTypeFilesGenerator({
|
||||
filePaths,
|
||||
dirNamesIncludeFilePatterns
|
||||
})) {
|
||||
yield filePath
|
||||
if (isWindows() && inputs.usePosixPathSeparator) {
|
||||
yield convertPath(filePath, 'mixed')
|
||||
} else {
|
||||
yield filePath
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -402,7 +407,11 @@ function* getAllChangeTypeFilesGenerator({
|
||||
filePaths,
|
||||
dirNamesIncludeFilePatterns
|
||||
})) {
|
||||
yield filePath
|
||||
if (isWindows() && inputs.usePosixPathSeparator) {
|
||||
yield convertPath(filePath, 'mixed')
|
||||
} else {
|
||||
yield filePath
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -475,7 +484,7 @@ export const getChangedFilesFromGithubAPI = async ({
|
||||
|
||||
if (changeType === ChangeTypeEnum.Renamed) {
|
||||
if (inputs.outputRenamedFilesAsDeletedAndAdded) {
|
||||
changedFiles[ChangeTypeEnum.Deleted].push(item.filename)
|
||||
changedFiles[ChangeTypeEnum.Deleted].push(item.previous_filename || '')
|
||||
changedFiles[ChangeTypeEnum.Added].push(item.filename)
|
||||
} else {
|
||||
changedFiles[ChangeTypeEnum.Renamed].push(item.filename)
|
||||
|
@ -247,7 +247,7 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
||||
|
||||
await setOutput({
|
||||
key: getOutputKey('any_changed', outputPrefix),
|
||||
value: allChangedFiles.paths.length > 0 && filePatterns.length > 0,
|
||||
value: allChangedFiles.paths.length > 0,
|
||||
writeOutputFiles: inputs.writeOutputFiles,
|
||||
outputDir: inputs.outputDir,
|
||||
json: inputs.json
|
||||
@ -336,7 +336,7 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
||||
|
||||
await setOutput({
|
||||
key: getOutputKey('any_modified', outputPrefix),
|
||||
value: allModifiedFiles.paths.length > 0 && filePatterns.length > 0,
|
||||
value: allModifiedFiles.paths.length > 0,
|
||||
writeOutputFiles: inputs.writeOutputFiles,
|
||||
outputDir: inputs.outputDir,
|
||||
json: inputs.json
|
||||
@ -442,7 +442,7 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
||||
|
||||
await setOutput({
|
||||
key: getOutputKey('any_deleted', outputPrefix),
|
||||
value: deletedFiles.paths.length > 0 && filePatterns.length > 0,
|
||||
value: deletedFiles.paths.length > 0,
|
||||
writeOutputFiles: inputs.writeOutputFiles,
|
||||
outputDir: inputs.outputDir,
|
||||
json: inputs.json
|
||||
@ -496,7 +496,7 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
|
||||
})
|
||||
|
||||
return {
|
||||
anyModified: allModifiedFiles.paths.length > 0 && filePatterns.length > 0,
|
||||
anyChanged: allChangedFiles.paths.length > 0 && filePatterns.length > 0
|
||||
anyModified: allModifiedFiles.paths.length > 0,
|
||||
anyChanged: allChangedFiles.paths.length > 0
|
||||
}
|
||||
}
|
||||
|
137
src/commitSha.ts
137
src/commitSha.ts
@ -86,15 +86,27 @@ export interface DiffResult {
|
||||
initialCommit?: boolean
|
||||
}
|
||||
|
||||
export const getSHAForNonPullRequestEvent = async (
|
||||
inputs: Inputs,
|
||||
env: Env,
|
||||
workingDirectory: string,
|
||||
isShallow: boolean,
|
||||
hasSubmodule: boolean,
|
||||
gitFetchExtraArgs: string[],
|
||||
interface SHAForNonPullRequestEvent {
|
||||
inputs: Inputs
|
||||
env: Env
|
||||
workingDirectory: string
|
||||
isShallow: boolean
|
||||
diffSubmodule: boolean
|
||||
gitFetchExtraArgs: string[]
|
||||
isTag: boolean
|
||||
): Promise<DiffResult> => {
|
||||
remoteName: string
|
||||
}
|
||||
|
||||
export const getSHAForNonPullRequestEvent = async ({
|
||||
inputs,
|
||||
env,
|
||||
workingDirectory,
|
||||
isShallow,
|
||||
diffSubmodule,
|
||||
gitFetchExtraArgs,
|
||||
isTag,
|
||||
remoteName
|
||||
}: SHAForNonPullRequestEvent): Promise<DiffResult> => {
|
||||
let targetBranch = env.GITHUB_REF_NAME
|
||||
let currentBranch = targetBranch
|
||||
let initialCommit = false
|
||||
@ -122,8 +134,8 @@ export const getSHAForNonPullRequestEvent = async (
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
'origin',
|
||||
`+refs/heads/${sourceBranch}:refs/remotes/origin/${sourceBranch}`
|
||||
remoteName,
|
||||
`+refs/heads/${sourceBranch}:refs/remotes/${remoteName}/${sourceBranch}`
|
||||
]
|
||||
})
|
||||
} else {
|
||||
@ -134,13 +146,13 @@ export const getSHAForNonPullRequestEvent = async (
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
'origin',
|
||||
`+refs/heads/${targetBranch}:refs/remotes/origin/${targetBranch}`
|
||||
remoteName,
|
||||
`+refs/heads/${targetBranch}:refs/remotes/${remoteName}/${targetBranch}`
|
||||
]
|
||||
})
|
||||
}
|
||||
|
||||
if (hasSubmodule) {
|
||||
if (diffSubmodule) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@ -152,7 +164,7 @@ export const getSHAForNonPullRequestEvent = async (
|
||||
})
|
||||
}
|
||||
} else {
|
||||
if (hasSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
if (diffSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@ -228,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 {
|
||||
@ -307,14 +324,23 @@ export const getSHAForNonPullRequestEvent = async (
|
||||
}
|
||||
}
|
||||
|
||||
export const getSHAForPullRequestEvent = async (
|
||||
inputs: Inputs,
|
||||
env: Env,
|
||||
workingDirectory: string,
|
||||
isShallow: boolean,
|
||||
hasSubmodule: boolean,
|
||||
interface SHAForPullRequestEvent {
|
||||
inputs: Inputs
|
||||
workingDirectory: string
|
||||
isShallow: boolean
|
||||
diffSubmodule: boolean
|
||||
gitFetchExtraArgs: string[]
|
||||
): Promise<DiffResult> => {
|
||||
remoteName: string
|
||||
}
|
||||
|
||||
export const getSHAForPullRequestEvent = async ({
|
||||
inputs,
|
||||
workingDirectory,
|
||||
isShallow,
|
||||
diffSubmodule,
|
||||
gitFetchExtraArgs,
|
||||
remoteName
|
||||
}: SHAForPullRequestEvent): Promise<DiffResult> => {
|
||||
let targetBranch = github.context.payload.pull_request?.base?.ref
|
||||
const currentBranch = github.context.payload.pull_request?.head?.ref
|
||||
if (inputs.sinceLastRemoteCommit) {
|
||||
@ -330,7 +356,7 @@ export const getSHAForPullRequestEvent = async (
|
||||
...gitFetchExtraArgs,
|
||||
'-u',
|
||||
'--progress',
|
||||
'origin',
|
||||
remoteName,
|
||||
`pull/${github.context.payload.pull_request?.number}/head:${currentBranch}`
|
||||
]
|
||||
})
|
||||
@ -343,8 +369,8 @@ export const getSHAForPullRequestEvent = async (
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
'origin',
|
||||
`+refs/heads/${currentBranch}*:refs/remotes/origin/${currentBranch}*`
|
||||
remoteName,
|
||||
`+refs/heads/${currentBranch}*:refs/remotes/${remoteName}/${currentBranch}*`
|
||||
]
|
||||
})
|
||||
}
|
||||
@ -354,35 +380,32 @@ 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}`,
|
||||
'origin',
|
||||
`+refs/heads/${targetBranch}:refs/remotes/origin/${targetBranch}`
|
||||
`--deepen=${inputs.fetchDepth}`
|
||||
]
|
||||
})
|
||||
|
||||
if (hasSubmodule) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
...gitFetchExtraArgs,
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (hasSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
if (diffSubmodule && inputs.fetchAdditionalSubmoduleHistory) {
|
||||
await gitFetchSubmodules({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@ -427,10 +450,7 @@ export const getSHAForPullRequestEvent = async (
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
!github.context.payload.pull_request?.base?.ref ||
|
||||
github.context.payload.pull_request?.head?.repo?.fork === true
|
||||
) {
|
||||
if (!github.context.payload.pull_request?.base?.ref) {
|
||||
diff = '..'
|
||||
}
|
||||
|
||||
@ -487,17 +507,14 @@ export const getSHAForPullRequestEvent = async (
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (github.context.payload.action === 'closed') {
|
||||
previousSha = github.context.payload.pull_request?.base?.sha
|
||||
} else {
|
||||
previousSha = github.context.payload.pull_request?.base?.sha
|
||||
|
||||
if (!previousSha) {
|
||||
previousSha = await getRemoteBranchHeadSha({
|
||||
cwd: workingDirectory,
|
||||
remoteName,
|
||||
branch: targetBranch
|
||||
})
|
||||
|
||||
if (!previousSha) {
|
||||
previousSha = github.context.payload.pull_request?.base?.sha
|
||||
}
|
||||
}
|
||||
|
||||
if (isShallow) {
|
||||
@ -513,7 +530,11 @@ export const getSHAForPullRequestEvent = async (
|
||||
'Merge base is not in the local history, fetching remote target branch...'
|
||||
)
|
||||
|
||||
for (let i = 1; i <= 10; i++) {
|
||||
for (
|
||||
let i = 1;
|
||||
i <= (inputs.fetchMissingHistoryMaxRetries || 10);
|
||||
i++
|
||||
) {
|
||||
await gitFetch({
|
||||
cwd: workingDirectory,
|
||||
args: [
|
||||
@ -521,8 +542,8 @@ export const getSHAForPullRequestEvent = async (
|
||||
'-u',
|
||||
'--progress',
|
||||
`--deepen=${inputs.fetchDepth}`,
|
||||
'origin',
|
||||
`+refs/heads/${targetBranch}:refs/remotes/origin/${targetBranch}`
|
||||
remoteName,
|
||||
`+refs/heads/${targetBranch}:refs/remotes/${remoteName}/${targetBranch}`
|
||||
]
|
||||
})
|
||||
|
||||
|
@ -20,5 +20,10 @@ export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
|
||||
oldNewFilesSeparator: ' ',
|
||||
skipInitialFetch: false,
|
||||
fetchAdditionalSubmoduleHistory: false,
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
|
||||
excludeSubmodules: false,
|
||||
fetchMissingHistoryMaxRetries: 20,
|
||||
usePosixPathSeparator: false,
|
||||
tagsPattern: '*',
|
||||
tagsIgnorePattern: ''
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
import * as core from '@actions/core'
|
||||
|
||||
export type Env = {
|
||||
GITHUB_REF_NAME: string
|
||||
GITHUB_REF: string
|
||||
@ -7,8 +5,6 @@ export type Env = {
|
||||
}
|
||||
|
||||
export const getEnv = async (): Promise<Env> => {
|
||||
core.debug(`Env: ${JSON.stringify(process.env, null, 2)}`)
|
||||
|
||||
return {
|
||||
GITHUB_REF_NAME: process.env.GITHUB_REF_NAME || '',
|
||||
GITHUB_REF: process.env.GITHUB_REF || '',
|
||||
|
@ -54,6 +54,11 @@ export type Inputs = {
|
||||
failOnSubmoduleDiffError: boolean
|
||||
negationPatternsFirst: boolean
|
||||
useRestApi: boolean
|
||||
excludeSubmodules: boolean
|
||||
fetchMissingHistoryMaxRetries?: number
|
||||
usePosixPathSeparator: boolean
|
||||
tagsPattern: string
|
||||
tagsIgnorePattern?: string
|
||||
}
|
||||
|
||||
export const getInputs = (): Inputs => {
|
||||
@ -240,6 +245,31 @@ export const getInputs = (): Inputs => {
|
||||
required: false
|
||||
})
|
||||
|
||||
const excludeSubmodules = core.getBooleanInput('exclude_submodules', {
|
||||
required: false
|
||||
})
|
||||
|
||||
const fetchMissingHistoryMaxRetries = core.getInput(
|
||||
'fetch_missing_history_max_retries',
|
||||
{required: false}
|
||||
)
|
||||
|
||||
const usePosixPathSeparator = core.getBooleanInput(
|
||||
'use_posix_path_separator',
|
||||
{
|
||||
required: false
|
||||
}
|
||||
)
|
||||
|
||||
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,
|
||||
@ -279,6 +309,10 @@ export const getInputs = (): Inputs => {
|
||||
skipInitialFetch,
|
||||
fetchAdditionalSubmoduleHistory,
|
||||
dirNamesDeletedFilesIncludeOnlyDeletedDirs,
|
||||
excludeSubmodules,
|
||||
usePosixPathSeparator,
|
||||
tagsPattern,
|
||||
tagsIgnorePattern,
|
||||
// End Not Supported via REST API
|
||||
dirNames,
|
||||
dirNamesExcludeCurrentDir,
|
||||
@ -297,6 +331,7 @@ export const getInputs = (): Inputs => {
|
||||
}
|
||||
|
||||
if (fetchDepth) {
|
||||
// Fallback to at least 2 if the fetch_depth is less than 2
|
||||
inputs.fetchDepth = Math.max(parseInt(fetchDepth, 10), 2)
|
||||
}
|
||||
|
||||
@ -304,5 +339,13 @@ export const getInputs = (): Inputs => {
|
||||
inputs.dirNamesMaxDepth = parseInt(dirNamesMaxDepth, 10)
|
||||
}
|
||||
|
||||
if (fetchMissingHistoryMaxRetries) {
|
||||
// Fallback to at least 1 if the fetch_missing_history_max_retries is less than 1
|
||||
inputs.fetchMissingHistoryMaxRetries = Math.max(
|
||||
parseInt(fetchMissingHistoryMaxRetries, 10),
|
||||
1
|
||||
)
|
||||
}
|
||||
|
||||
return inputs
|
||||
}
|
||||
|
58
src/main.ts
58
src/main.ts
@ -64,14 +64,26 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
}
|
||||
|
||||
const isShallow = await isRepoShallow({cwd: workingDirectory})
|
||||
const hasSubmodule = await submoduleExists({cwd: workingDirectory})
|
||||
let gitFetchExtraArgs = ['--no-tags', '--prune', '--recurse-submodules']
|
||||
let diffSubmodule = false
|
||||
let gitFetchExtraArgs = ['--no-tags', '--prune']
|
||||
|
||||
if (inputs.excludeSubmodules) {
|
||||
core.info('Excluding submodules from the diff')
|
||||
} else {
|
||||
diffSubmodule = await submoduleExists({cwd: workingDirectory})
|
||||
}
|
||||
|
||||
if (diffSubmodule) {
|
||||
gitFetchExtraArgs.push('--recurse-submodules')
|
||||
}
|
||||
|
||||
const isTag = env.GITHUB_REF?.startsWith('refs/tags/')
|
||||
const remoteName = 'origin'
|
||||
const outputRenamedFilesAsDeletedAndAdded =
|
||||
inputs.outputRenamedFilesAsDeletedAndAdded
|
||||
let submodulePaths: string[] = []
|
||||
|
||||
if (hasSubmodule) {
|
||||
if (diffSubmodule) {
|
||||
submodulePaths = await getSubmodulePath({cwd: workingDirectory})
|
||||
}
|
||||
|
||||
@ -83,29 +95,30 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
|
||||
if (!github.context.payload.pull_request?.base?.ref) {
|
||||
core.info(`Running on a ${github.context.eventName || 'push'} event...`)
|
||||
diffResult = await getSHAForNonPullRequestEvent(
|
||||
diffResult = await getSHAForNonPullRequestEvent({
|
||||
inputs,
|
||||
env,
|
||||
workingDirectory,
|
||||
isShallow,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
gitFetchExtraArgs,
|
||||
isTag
|
||||
)
|
||||
isTag,
|
||||
remoteName
|
||||
})
|
||||
} else {
|
||||
core.info(
|
||||
`Running on a ${github.context.eventName || 'pull_request'} (${
|
||||
github.context.payload.action
|
||||
}) event...`
|
||||
)
|
||||
diffResult = await getSHAForPullRequestEvent(
|
||||
diffResult = await getSHAForPullRequestEvent({
|
||||
inputs,
|
||||
env,
|
||||
workingDirectory,
|
||||
isShallow,
|
||||
hasSubmodule,
|
||||
gitFetchExtraArgs
|
||||
)
|
||||
diffSubmodule,
|
||||
gitFetchExtraArgs,
|
||||
remoteName
|
||||
})
|
||||
}
|
||||
|
||||
if (diffResult.initialCommit) {
|
||||
@ -120,7 +133,7 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
|
||||
const allDiffFiles = await getAllDiffFiles({
|
||||
workingDirectory,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
diffResult,
|
||||
submodulePaths,
|
||||
outputRenamedFilesAsDeletedAndAdded,
|
||||
@ -146,7 +159,7 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
deletedFiles: allDiffFiles[ChangeTypeEnum.Deleted],
|
||||
recoverPatterns,
|
||||
diffResult,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
submodulePaths
|
||||
})
|
||||
}
|
||||
@ -164,7 +177,7 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
const allOldNewRenamedFiles = await getRenamedFiles({
|
||||
inputs,
|
||||
workingDirectory,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
diffResult,
|
||||
submodulePaths
|
||||
})
|
||||
@ -221,8 +234,6 @@ export async function run(): Promise<void> {
|
||||
const inputs = getInputs()
|
||||
core.debug(`Inputs: ${JSON.stringify(inputs, null, 2)}`)
|
||||
|
||||
core.debug(`Github Context: ${JSON.stringify(github.context, null, 2)}`)
|
||||
|
||||
const workingDirectory = path.resolve(
|
||||
env.GITHUB_WORKSPACE || process.cwd(),
|
||||
inputs.useRestApi ? '.' : inputs.path
|
||||
@ -280,11 +291,8 @@ export async function run(): Promise<void> {
|
||||
}
|
||||
}
|
||||
|
||||
/* istanbul ignore if */
|
||||
if (!process.env.TESTING) {
|
||||
// eslint-disable-next-line github/no-then
|
||||
run().catch(e => {
|
||||
core.setFailed(e.message || e)
|
||||
process.exit(1)
|
||||
})
|
||||
}
|
||||
// eslint-disable-next-line github/no-then
|
||||
run().catch(e => {
|
||||
core.setFailed(e.message || e)
|
||||
process.exit(1)
|
||||
})
|
||||
|
135
src/utils.ts
135
src/utils.ts
@ -32,11 +32,13 @@ export const normalizeSeparators = (p: string): string => {
|
||||
|
||||
// Remove redundant slashes
|
||||
const isUnc = /^\\\\+[^\\]/.test(p) // e.g. \\hello
|
||||
return (isUnc ? '\\' : '') + p.replace(/\\\\+/g, '\\') // preserve leading \\ for UNC
|
||||
p = (isUnc ? '\\' : '') + p.replace(/\\\\+/g, '\\') // preserve leading \\ for UNC
|
||||
} else {
|
||||
// Remove redundant slashes on Linux/macOS
|
||||
p = p.replace(/\/\/+/g, '/')
|
||||
}
|
||||
|
||||
// Remove redundant slashes
|
||||
return p.replace(/\/\/+/g, '/')
|
||||
return p
|
||||
}
|
||||
|
||||
/**
|
||||
@ -680,25 +682,21 @@ export const isInsideWorkTree = async ({
|
||||
}
|
||||
)
|
||||
|
||||
if (stdout.trim() !== 'true') {
|
||||
core.warning(
|
||||
`The current working directory is not inside a git repository: ${cwd}`
|
||||
)
|
||||
}
|
||||
|
||||
return stdout.trim() === 'true'
|
||||
}
|
||||
|
||||
export const getRemoteBranchHeadSha = async ({
|
||||
cwd,
|
||||
branch
|
||||
branch,
|
||||
remoteName
|
||||
}: {
|
||||
cwd: string
|
||||
branch: string
|
||||
remoteName: string
|
||||
}): Promise<string> => {
|
||||
const {stdout} = await exec.getExecOutput(
|
||||
'git',
|
||||
['rev-parse', `origin/${branch}`],
|
||||
['rev-parse', `${remoteName}/${branch}`],
|
||||
{
|
||||
cwd,
|
||||
silent: !core.isDebug()
|
||||
@ -833,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 ({
|
||||
@ -1221,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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1242,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]
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1268,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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1417,7 +1450,7 @@ export const recoverDeletedFiles = async ({
|
||||
deletedFiles,
|
||||
recoverPatterns,
|
||||
diffResult,
|
||||
hasSubmodule,
|
||||
diffSubmodule,
|
||||
submodulePaths
|
||||
}: {
|
||||
inputs: Inputs
|
||||
@ -1425,7 +1458,7 @@ export const recoverDeletedFiles = async ({
|
||||
deletedFiles: string[]
|
||||
recoverPatterns: string[]
|
||||
diffResult: DiffResult
|
||||
hasSubmodule: boolean
|
||||
diffSubmodule: boolean
|
||||
submodulePaths: string[]
|
||||
}): Promise<void> => {
|
||||
let recoverableDeletedFiles = deletedFiles
|
||||
@ -1455,7 +1488,7 @@ export const recoverDeletedFiles = async ({
|
||||
|
||||
const submodulePath = submodulePaths.find(p => deletedFile.startsWith(p))
|
||||
|
||||
if (hasSubmodule && submodulePath) {
|
||||
if (diffSubmodule && submodulePath) {
|
||||
const submoduleShaResult = await gitSubmoduleDiffSHA({
|
||||
cwd: workingDirectory,
|
||||
parentSha1: diffResult.previousSha,
|
||||
|
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...
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
|
||||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
||||
"outDir": "./lib", /* Redirect output structure to the directory. */
|
||||
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user