Compare commits

...

86 Commits
v46 ... v47

Author SHA1 Message Date
Tonye Jack
24d32ffd49 upgrade: to node24 (#2662) 2025-09-13 13:41:48 +00:00
dependabot[bot]
9a6755550a chore(deps-dev): bump jest from 30.0.5 to 30.1.3 (#2655)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2025-09-12 05:00:46 -06:00
dependabot[bot]
b67e30df88 chore(deps): bump tj-actions/git-cliff from 2.1.0 to 2.2.0 (#2660)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 04:28:11 -06:00
dependabot[bot]
62aef422ff chore(deps): bump github/codeql-action from 3.30.2 to 3.30.3 (#2661)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 04:28:01 -06:00
dependabot[bot]
e874f3cddd chore(deps): bump github/codeql-action from 3.29.11 to 3.30.2 (#2659)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 12:24:58 -06:00
dependabot[bot]
8c14441336 chore(deps): bump actions/setup-node from 4.4.0 to 5.0.0 (#2656)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-07 09:28:58 -06:00
dependabot[bot]
e995ac4be5 chore(deps-dev): bump @types/node from 24.3.0 to 24.3.1 (#2657)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-07 09:28:22 -06:00
dependabot[bot]
3b04099b21 chore(deps-dev): bump @types/node from 24.2.1 to 24.3.0 (#2649)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-23 12:23:40 -06:00
dependabot[bot]
e7b6c977e5 chore(deps): bump github/codeql-action from 3.29.9 to 3.29.11 (#2651)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-23 12:23:30 -06:00
dependabot[bot]
765d62bc04 chore(deps): bump tj-actions/git-cliff from 2.0.2 to 2.1.0 (#2648)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-23 08:49:07 -06:00
dependabot[bot]
2036da178f chore(deps): bump github/codeql-action from 3.29.8 to 3.29.9 (#2647)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 19:05:53 -06:00
dependabot[bot]
239aef84a5 chore(deps): bump github/codeql-action from 3.29.7 to 3.29.8 (#2644)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 16:32:00 -06:00
dependabot[bot]
a7d5f5f491 chore(deps-dev): bump @types/node from 24.2.0 to 24.2.1 (#2645)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 16:31:44 -06:00
dependabot[bot]
5107f3abcc chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#2646)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 16:31:21 -06:00
dependabot[bot]
f963b3f356 chore(deps-dev): bump @types/node from 24.1.0 to 24.2.0 (#2640)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-07 07:19:29 -06:00
dependabot[bot]
f956744105 chore(deps): bump actions/download-artifact from 4.3.0 to 5.0.0 (#2641)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-07 07:19:12 -06:00
dependabot[bot]
9009babdfa chore(deps): bump yaml from 2.8.0 to 2.8.1 (#2642)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-07 07:18:58 -06:00
dependabot[bot]
2ecafed8a9 chore(deps-dev): bump eslint-plugin-prettier from 5.5.3 to 5.5.4 (#2643)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-07 07:18:44 -06:00
dependabot[bot]
8cdfb7636d chore(deps): bump tj-actions/eslint-changed-files from 25.3.1 to 25.3.2 (#2638)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-04 22:15:42 -06:00
dependabot[bot]
087c158d0f chore(deps-dev): bump ts-jest from 29.4.0 to 29.4.1 (#2639)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-04 22:15:34 -06:00
Tonye Jack
c2ca249319 test: manual triggered workflows (#2637) 2025-08-02 13:16:58 -06:00
dependabot[bot]
94d97fe3f8 chore(deps): bump tj-actions/branch-names from 9.0.1 to 9.0.2 (#2636)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-31 10:26:47 -06:00
dependabot[bot]
18b05b98fc chore(deps): bump github/codeql-action from 3.29.4 to 3.29.5 (#2635)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-30 18:40:20 -06:00
dependabot[bot]
db8d0bfea5 chore(deps): bump tj-actions/git-cliff from 1.5.0 to 2.0.2 (#2632)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-27 06:37:43 -06:00
dependabot[bot]
0e2e8f70c5 chore(deps): bump tj-actions/branch-names from 8.2.1 to 9.0.1 (#2633)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-27 06:37:21 -06:00
dependabot[bot]
5f2e971c1f chore(deps-dev): bump @types/node from 24.0.15 to 24.1.0 (#2626)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-25 11:17:08 -06:00
dependabot[bot]
498cf3f891 chore(deps-dev): bump jest from 30.0.4 to 30.0.5 (#2627)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-25 11:17:00 -06:00
dependabot[bot]
8378ac87b7 chore(deps): bump github/codeql-action from 3.29.3 to 3.29.4 (#2628)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-25 11:16:52 -06:00
dependabot[bot]
4bfe3cb5bd chore(deps): bump nrwl/nx-set-shas from 4.3.0 to 4.3.3 (#2630)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-25 11:15:18 -06:00
dependabot[bot]
a0370f6169 chore(deps): bump github/codeql-action from 3.29.2 to 3.29.3 (#2625)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 12:42:01 -06:00
dependabot[bot]
4662f28b04 chore(deps): bump codacy/codacy-analysis-cli-action from 4.4.5 to 4.4.7 (#2620)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 15:55:13 -06:00
dependabot[bot]
bc785e050c chore(deps-dev): bump eslint-plugin-prettier from 5.5.1 to 5.5.3 (#2622)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 15:55:02 -06:00
dependabot[bot]
2d9b73795a chore(deps-dev): bump @types/node from 24.0.13 to 24.0.15 (#2623)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 15:54:49 -06:00
dependabot[bot]
d22a233bae chore(deps-dev): bump eslint-config-prettier from 10.1.5 to 10.1.8 (#2624)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 15:54:34 -06:00
dependabot[bot]
055970845d chore(deps-dev): bump @types/node from 24.0.12 to 24.0.13 (#2617)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-12 22:24:55 -06:00
dependabot[bot]
5f66af5912 chore(deps-dev): bump @types/lodash from 4.17.19 to 4.17.20 (#2613)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 13:57:00 +00:00
dependabot[bot]
df49d58c47 chore(deps-dev): bump @types/node from 24.0.10 to 24.0.12 (#2616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 07:43:36 -06:00
dependabot[bot]
cf79a64fed chore(deps): bump github/codeql-action from 3.29.1 to 3.29.2 (#2612)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-04 05:32:59 +00:00
dependabot[bot]
8dc8049ce8 chore(deps-dev): bump @types/node from 24.0.7 to 24.0.10 (#2614)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 23:09:41 -06:00
dependabot[bot]
61189527f9 chore(deps-dev): bump jest from 30.0.3 to 30.0.4 (#2615)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-03 20:54:17 -06:00
dependabot[bot]
e8772ff27d chore(deps-dev): bump eslint-plugin-prettier from 5.4.1 to 5.5.1 (#2607)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:54:26 -06:00
dependabot[bot]
8917c3a23b chore(deps-dev): bump jest and @types/jest (#2604)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:54:17 -06:00
dependabot[bot]
8e3d814e36 chore(deps-dev): bump @types/lodash from 4.17.17 to 4.17.19 (#2605)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:54:06 -06:00
dependabot[bot]
6da46bc98b chore(deps): bump github/codeql-action from 3.29.0 to 3.29.1 (#2608)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:53:39 -06:00
dependabot[bot]
95dea818c4 chore(deps-dev): bump @types/node from 24.0.1 to 24.0.7 (#2609)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:53:28 -06:00
dependabot[bot]
6b214c1237 chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 (#2610)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 09:53:14 -06:00
dependabot[bot]
666c9d2900 chore(deps-dev): bump eslint-plugin-jest from 28.13.5 to 29.0.1 (#2600)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 14:56:48 -06:00
dependabot[bot]
d52d20fa3f chore(deps-dev): bump @types/node from 22.15.26 to 24.0.1 (#2587)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 08:56:51 +00:00
dependabot[bot]
f1c0eb9599 chore(deps-dev): bump eslint-plugin-prettier from 5.4.0 to 5.4.1 (#2578)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 08:41:33 +00:00
dependabot[bot]
944a0f7239 chore(deps-dev): bump eslint-plugin-jest from 28.13.0 to 28.13.3 (#2585)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 08:20:13 +00:00
github-actions[bot]
3dbc1e1812 Updated README.md (#2592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-15 01:52:23 -06:00
dependabot[bot]
7a7221b7ba chore(deps): bump github/codeql-action from 3.28.18 to 3.29.0 (#2588)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 07:40:23 +00:00
Jellyfrog
c260d49a82 feat: add any_added to outputs (#2567)
Signed-off-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2025-06-15 07:29:15 +00:00
github-actions[bot]
b1ccff8c08 Updated README.md (#2591)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-15 00:55:37 -06:00
Tonye Jack
a892f50f7a docs: update link to glob patterns (#2590) 2025-06-15 06:48:27 +00:00
dependabot[bot]
5ca5422070 chore(deps-dev): bump ts-jest from 29.3.4 to 29.4.0 (#2589)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-14 23:59:49 -06:00
dependabot[bot]
4140eb99d2 chore(deps-dev): bump eslint-plugin-jest from 28.12.0 to 28.13.0 (#2583)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 09:53:04 -06:00
dependabot[bot]
115870536a chore(deps-dev): bump eslint-plugin-jest from 28.11.0 to 28.12.0 (#2575)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 19:52:11 -06:00
dependabot[bot]
48aea2e1ab chore(deps-dev): bump @types/node from 22.15.24 to 22.15.26 (#2576)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 19:51:53 -06:00
github-actions[bot]
050a3d3360 Updated README.md (#2574)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-29 16:16:29 +00:00
allcontributors[bot]
f000a9b97f docs: add Jellyfrog as a contributor for code, and doc (#2573)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-05-29 10:09:45 -06:00
dependabot[bot]
7a9a6d2105 chore(deps-dev): bump @types/node from 22.15.21 to 22.15.24 (#2572)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 14:07:50 +00:00
Tonye Jack
abda8aa2d0 chore: update build job to fail when there are uncommited changes (#2571) 2025-05-29 13:20:03 +00:00
dependabot[bot]
c6634ca281 chore(deps): bump github/codeql-action from 3.28.17 to 3.28.18 (#2564)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-26 13:57:36 +00:00
dependabot[bot]
860b02dbf9 chore(deps): bump @octokit/rest from 21.1.1 to 22.0.0 (#2568)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-26 07:46:27 -06:00
dependabot[bot]
3981e4f741 chore(deps-dev): bump @types/node from 22.15.17 to 22.15.21 (#2566)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-22 06:33:25 -06:00
dependabot[bot]
403a8a6fd1 chore(deps-dev): bump ts-jest from 29.3.2 to 29.3.4 (#2563)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-21 15:58:47 +00:00
dependabot[bot]
5c5e8c9b88 chore(deps): bump yaml from 2.7.1 to 2.8.0 (#2561)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-21 15:15:12 +00:00
dependabot[bot]
d869acea43 chore(deps-dev): bump @types/lodash from 4.17.16 to 4.17.17 (#2565)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-21 08:25:09 -06:00
dependabot[bot]
480f494126 chore(deps): bump @actions/github from 6.0.0 to 6.0.1 (#2556)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 04:04:39 +00:00
dependabot[bot]
405524a214 chore(deps-dev): bump @types/node from 22.15.14 to 22.15.17 (#2557)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-12 03:27:53 +00:00
dependabot[bot]
b6970c44e6 chore(deps-dev): bump eslint-config-prettier from 10.1.2 to 10.1.5 (#2558)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-11 21:17:25 -06:00
dependabot[bot]
11fe0a2263 chore(deps): bump github/codeql-action from 3.28.16 to 3.28.17 (#2551)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-07 18:13:11 +00:00
dependabot[bot]
e7b157b1c4 chore(deps-dev): bump @types/node from 22.15.3 to 22.15.10 (#2552)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 22:19:27 +00:00
dependabot[bot]
9132e0305b chore(deps-dev): bump eslint-plugin-prettier from 5.2.6 to 5.4.0 (#2553)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 15:57:16 -06:00
dependabot[bot]
4168bb487d chore(deps-dev): bump @types/node from 22.15.0 to 22.15.3 (#2548)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-29 22:42:44 -06:00
dependabot[bot]
5426ecc3f5 chore(deps): bump actions/download-artifact from 4.2.1 to 4.3.0 (#2545)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-25 15:17:13 -06:00
dependabot[bot]
513a44e609 chore(deps-dev): bump @types/node from 22.14.1 to 22.15.0 (#2544)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-25 15:09:42 -06:00
dependabot[bot]
46e217dc3e chore(deps): bump github/codeql-action from 3.28.15 to 3.28.16 (#2542)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-23 21:51:42 -06:00
dependabot[bot]
c34c1c13a7 chore(deps): bump actions/setup-node from 4.3.0 to 4.4.0 (#2539)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 04:21:01 -06:00
dependabot[bot]
52c3beb997 chore(deps-dev): bump ts-jest from 29.3.1 to 29.3.2 (#2536)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 06:25:40 -06:00
dependabot[bot]
ea3010bc88 chore(deps-dev): bump @types/node from 22.14.0 to 22.14.1 (#2537)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-15 06:25:21 -06:00
Tonye Jack
be393a9038 remove: commit and push step from build job (#2538) 2025-04-14 16:09:32 +00:00
dependabot[bot]
9b4bb2bedb chore(deps): bump tj-actions/branch-names from 8.1.0 to 8.2.1 (#2535)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 06:43:32 -06:00
dependabot[bot]
9934ab3fdf chore(deps-dev): bump eslint-config-prettier from 10.1.1 to 10.1.2 (#2532)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-12 21:47:00 -06:00
github-actions[bot]
db731a131c Upgraded to v46.0.5 (#2531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-08 21:28:18 -06:00
22 changed files with 1669 additions and 1019 deletions

View File

@@ -272,6 +272,16 @@
"contributions": [ "contributions": [
"doc" "doc"
] ]
},
{
"login": "Jellyfrog",
"name": "Jellyfrog",
"avatar_url": "https://avatars.githubusercontent.com/u/759887?v=4",
"profile": "https://github.com/Jellyfrog",
"contributions": [
"code",
"doc"
]
} }
], ],
"contributorsPerLine": 7, "contributorsPerLine": 7,

View File

@@ -29,12 +29,12 @@ jobs:
steps: steps:
# Checkout the repository to the GitHub Actions runner # Checkout the repository to the GitHub Actions runner
- name: Checkout code - name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI - name: Run Codacy Analysis CLI
continue-on-error: true continue-on-error: true
uses: codacy/codacy-analysis-cli-action@97bf5df3c09e75f5bcd72695998f96ebd701846e # v4.4.5 uses: codacy/codacy-analysis-cli-action@562ee3e92b8e92df8b67e0a5ff8aa8e261919c08 # v4.4.7
with: with:
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository # 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 # You can also omit the token and run the tools that support default configurations
@@ -51,6 +51,6 @@ jobs:
# Upload the SARIF file generated in the previous step # Upload the SARIF file generated in the previous step
- name: Upload SARIF results file - name: Upload SARIF results file
continue-on-error: true continue-on-error: true
uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
with: with:
sarif_file: results.sarif sarif_file: results.sarif

View File

@@ -43,11 +43,11 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
with: with:
languages: ${{ matrix.language }} languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file. # If you wish to specify custom queries, you can do so here or in a config file.
@@ -61,7 +61,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below) # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -74,6 +74,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh # ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15 uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.29.5
with: with:
category: "/language:${{matrix.language}}" category: "/language:${{matrix.language}}"

View File

@@ -19,7 +19,7 @@ jobs:
NUMBER: ${{ github.event.issue.number }} NUMBER: ${{ github.event.issue.number }}
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
@@ -104,7 +104,7 @@ jobs:
NUMBER: ${{ github.event.issue.number }} NUMBER: ${{ github.event.issue.number }}
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0

View File

@@ -5,6 +5,12 @@ permissions:
on: on:
workflow_dispatch: workflow_dispatch:
inputs:
files:
required: false
type: string
default: |
**.md **/**.md test/*.txt
jobs: jobs:
test: test:
@@ -18,7 +24,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
@@ -35,8 +41,8 @@ jobs:
id: changed-files-glob id: changed-files-glob
uses: ./ uses: ./
with: with:
files: | files: ${{ inputs.files }}
test/*.txt files_separator: " " # Space delimited files (default is "\n")
- name: Show output - name: Show output
run: | run: |

View File

@@ -17,7 +17,7 @@ jobs:
matrix: ${{ steps.changed-files.outputs.all_changed_files }} matrix: ${{ steps.changed-files.outputs.all_changed_files }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get changed files - name: Get changed files
@@ -39,7 +39,7 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Test - name: Test
run: | run: |
echo ${{ matrix.files }} echo ${{ matrix.files }}

View File

@@ -19,7 +19,7 @@ jobs:
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }} all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get changed files - name: Get changed files
@@ -45,7 +45,7 @@ jobs:
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }} all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get changed files - name: Get changed files

View File

@@ -13,7 +13,7 @@ jobs:
update-version: update-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Run release-tagger - name: Run release-tagger
@@ -36,7 +36,7 @@ jobs:
paths: | paths: |
package.json package.json
- name: Run git-cliff - name: Run git-cliff
uses: tj-actions/git-cliff@75599f745633e29f99bd9e14a30865b7d2fcbe84 # v1.5.0 uses: tj-actions/git-cliff@679041f051a4d2ab452f7e5e7b0eed2abee21131 # v2.2.0
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with: with:

View File

@@ -38,17 +38,17 @@ jobs:
contents: write contents: write
pull-requests: read pull-requests: read
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
persist-credentials: false persist-credentials: false
fetch-depth: 0 fetch-depth: 0
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Use Node.js 20.x - name: Use Node.js 24.x
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with: with:
cache: 'yarn' cache: 'yarn'
node-version: '20.x' node-version: '24.x'
- name: Create coverage directory and clover.xml - name: Create coverage directory and clover.xml
run: | run: |
@@ -60,10 +60,9 @@ jobs:
yarn install yarn install
- name: Run eslint on changed files - name: Run eslint on changed files
uses: tj-actions/eslint-changed-files@0cfcd35949a961d13e964a7c2a4971c0e89b68fc # v25.3.1 uses: tj-actions/eslint-changed-files@536c35c8184b8bbd361d3703aa63439e0895c340 # v25.3.2
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
with: with:
token: ${{ secrets.PAT_TOKEN }}
config_path: ".eslintrc.json" config_path: ".eslintrc.json"
ignore_path: ".eslintignore" ignore_path: ".eslintignore"
@@ -73,36 +72,27 @@ jobs:
env: env:
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }} GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
- name: Verify Changed files
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
if: github.actor != 'dependabot[bot]'
id: changed_files
with:
files: |
src
dist
- name: Commit files
if: steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add src dist
git commit -m "Added missing changes and modified dist assets."
- name: Push changes
if: steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
- name: Upload build assets - name: Upload build assets
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with: with:
name: build-assets name: build-assets
path: dist path: dist
- name: Verify Changed files
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
if: github.actor != 'dependabot[bot]'
id: verify_changed_files
with:
files: |
src
dist
- name: Verify outstanding changes
if: steps.verify_changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
run: |
echo "Uncommitted build/lint changes detected. Please run 'yarn all' locally and push the changes for review."
exit 1
- name: Run codacy-coverage-reporter - name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0 uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
continue-on-error: true continue-on-error: true
@@ -119,7 +109,7 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout into dir1 - name: Checkout into dir1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true submodules: true
@@ -127,7 +117,7 @@ jobs:
path: dir1 path: dir1
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
path: dir1/dist path: dir1/dist
@@ -153,13 +143,13 @@ jobs:
bash bash
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
path: dir2/dist path: dir2/dist
- name: Checkout into dir2 - name: Checkout into dir2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true submodules: true
@@ -195,13 +185,13 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0 fetch-depth: 0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -255,13 +245,13 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0 fetch-depth: 0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -299,13 +289,13 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0 fetch-depth: 0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -338,13 +328,13 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -372,12 +362,12 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -406,14 +396,14 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
persist-credentials: false persist-credentials: false
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -436,10 +426,10 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -491,10 +481,10 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -546,7 +536,7 @@ jobs:
pull-requests: read pull-requests: read
steps: steps:
- name: Checkout into dir1 - name: Checkout into dir1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true submodules: true
@@ -554,7 +544,7 @@ jobs:
path: dir1 path: dir1
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
path: dir1/dist path: dir1/dist
@@ -578,14 +568,14 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
path: dist path: dist
@@ -615,7 +605,7 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout into dir1 - name: Checkout into dir1
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true submodules: true
@@ -623,7 +613,7 @@ jobs:
path: dir1 path: dir1
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
path: dir1/dist path: dir1/dist
@@ -654,14 +644,14 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -720,14 +710,14 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -815,14 +805,14 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -1001,7 +991,7 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: a52f8621d26d5d9f54b80f74bda2d9eedff94693 ref: a52f8621d26d5d9f54b80f74bda2d9eedff94693
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1039,7 +1029,7 @@ jobs:
contents: read contents: read
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1118,7 +1108,7 @@ jobs:
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1126,7 +1116,7 @@ jobs:
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
@@ -1171,13 +1161,13 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
submodules: true submodules: true
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: ${{ matrix.fetch-depth }} fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets - name: Download build assets
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1 uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with: with:
name: build-assets name: build-assets
- name: Dump GitHub context - name: Dump GitHub context
@@ -2162,9 +2152,9 @@ jobs:
bash bash
- name: Get branch name - name: Get branch name
id: branch-name id: branch-name
uses: tj-actions/branch-names@f44339b51f74753b57583fbbd124e18a81170ab1 # v8.1.0 uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5 # v9.0.2
if: github.event_name == 'pull_request' && matrix.fetch-depth == 0 if: github.event_name == 'pull_request' && matrix.fetch-depth == 0
- uses: nrwl/nx-set-shas@dbe0650947e5f2c81f59190a38512cf49126fe6b # v4.3.0 - uses: nrwl/nx-set-shas@826660b82addbef3abff5fa871492ebad618c9e1 # v4.3.3
id: last_successful_commit id: last_successful_commit
if: github.event_name == 'pull_request' && github.event.action != 'closed' && matrix.fetch-depth == 0 if: github.event_name == 'pull_request' && github.event.action != 'closed' && matrix.fetch-depth == 0
with: with:

View File

@@ -13,7 +13,7 @@ jobs:
sync-assets: sync-assets:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@@ -13,7 +13,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
@@ -29,7 +29,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'failure' }} if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files

2
.nvmrc
View File

@@ -1 +1 @@
20 24

View File

@@ -1,5 +1,24 @@
# Changelog # Changelog
# [46.0.5](https://github.com/tj-actions/changed-files/compare/v46.0.4...v46.0.5) - (2025-04-09)
## <!-- 7 -->⚙️ Miscellaneous Tasks
- **deps:** Bump yaml from 2.7.0 to 2.7.1 ([#2520](https://github.com/tj-actions/changed-files/issues/2520)) ([ed68ef8](https://github.com/tj-actions/changed-files/commit/ed68ef82c095e0d48ec87eccea555d944a631a4c)) - (dependabot[bot])
- **deps-dev:** Bump typescript from 5.8.2 to 5.8.3 ([#2516](https://github.com/tj-actions/changed-files/issues/2516)) ([a7bc14b](https://github.com/tj-actions/changed-files/commit/a7bc14b808f23d3b467a4079c69a81f1a4500fd5)) - (dependabot[bot])
- **deps-dev:** Bump @types/node from 22.13.11 to 22.14.0 ([#2517](https://github.com/tj-actions/changed-files/issues/2517)) ([3d751f6](https://github.com/tj-actions/changed-files/commit/3d751f6b6d84071a17e1b9cf4ed79a80a27dd0ab)) - (dependabot[bot])
- **deps-dev:** Bump eslint-plugin-prettier from 5.2.3 to 5.2.6 ([#2519](https://github.com/tj-actions/changed-files/issues/2519)) ([e2fda4e](https://github.com/tj-actions/changed-files/commit/e2fda4ec3cb0bc2a353843cae823430b3124db8f)) - (dependabot[bot])
- **deps-dev:** Bump ts-jest from 29.2.6 to 29.3.1 ([#2518](https://github.com/tj-actions/changed-files/issues/2518)) ([0bed1b1](https://github.com/tj-actions/changed-files/commit/0bed1b1132ec4879a39a2d624cf82a00d0bcfa48)) - (dependabot[bot])
- **deps:** Bump github/codeql-action from 3.28.12 to 3.28.15 ([#2530](https://github.com/tj-actions/changed-files/issues/2530)) ([6802458](https://github.com/tj-actions/changed-files/commit/68024587dc36f49685c96d59d3f1081830f968bb)) - (dependabot[bot])
- **deps:** Bump tj-actions/branch-names from 8.0.1 to 8.1.0 ([#2521](https://github.com/tj-actions/changed-files/issues/2521)) ([cf2e39e](https://github.com/tj-actions/changed-files/commit/cf2e39e86bf842d1f9bc5bca56c0a6b207cca792)) - (dependabot[bot])
- **deps:** Bump tj-actions/verify-changed-files from 20.0.1 to 20.0.4 ([#2523](https://github.com/tj-actions/changed-files/issues/2523)) ([6abeaa5](https://github.com/tj-actions/changed-files/commit/6abeaa506a419f85fa9e681260b443adbeebb3d4)) - (dependabot[bot])
## <!-- 9 -->⬆️ Upgrades
- Upgraded to v46.0.4 ([#2511](https://github.com/tj-actions/changed-files/issues/2511))
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> ([6f67ee9](https://github.com/tj-actions/changed-files/commit/6f67ee9ac810f0192ea7b3d2086406f97847bcf9)) - (github-actions[bot])
# [46.0.4](https://github.com/tj-actions/changed-files/compare/v46.0.3...v46.0.4) - (2025-04-03) # [46.0.4](https://github.com/tj-actions/changed-files/compare/v46.0.3...v46.0.4) - (2025-04-03)
## <!-- 1 -->🐛 Bug Fixes ## <!-- 1 -->🐛 Bug Fixes

View File

@@ -9,7 +9,7 @@
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-) [![All Contributors](https://img.shields.io/badge/all_contributors-30-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END --> <!-- ALL-CONTRIBUTORS-BADGE:END -->
@@ -71,7 +71,7 @@ Effortlessly track all changed files and directories relative to a target branch
* Between the last remote branch commit and the current HEAD. * Between the last remote branch commit and the current HEAD.
* Restricts change detection to a subset of files and directories: * Restricts change detection to a subset of files and directories:
* Provides boolean output indicating changes in specific files. * Provides boolean output indicating changes in specific files.
* Uses [Glob pattern](https://codepen.io/mrmlnc/pen/OXQjMe) matching. * Uses [Glob pattern](https://en.wikipedia.org/wiki/Glob_\(programming\)) matching.
* Supports Globstar. * Supports Globstar.
* Supports brace expansion. * Supports brace expansion.
* Supports negation. * Supports negation.
@@ -122,7 +122,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g # To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
# with: # with:
# since_last_remote_commit: true # since_last_remote_commit: true
@@ -140,7 +140,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get all changed markdown files - name: Get all changed markdown files
id: changed-markdown-files id: changed-markdown-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
# Avoid using single or double quotes for multiline patterns # Avoid using single or double quotes for multiline patterns
files: | files: |
@@ -161,7 +161,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get all test, doc and src files that have changed - name: Get all test, doc and src files that have changed
id: changed-files-yaml id: changed-files-yaml
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files_yaml: | files_yaml: |
doc: doc:
@@ -196,7 +196,7 @@ jobs:
# ----------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------
- name: Get changed files in the docs folder - name: Get changed files in the docs folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files: docs/*.{js,html} # Alternatively using: `docs/**` files: docs/*.{js,html} # Alternatively using: `docs/**`
files_ignore: docs/static.js files_ignore: docs/static.js
@@ -238,7 +238,7 @@ jobs:
steps: steps:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
- name: List all changed files - name: List all changed files
env: env:
@@ -281,7 +281,7 @@ jobs:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit. # NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
- name: List all changed files - name: List all changed files
@@ -328,7 +328,7 @@ Support this project with a :star:
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section --> <!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
```yaml ```yaml
- uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 - uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
id: changed-files id: changed-files
with: with:
# Github API URL. # Github API URL.
@@ -761,6 +761,7 @@ Support this project with a :star:
| <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_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"></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_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_added"></a>[any\_added](#output_any_added) | string | Returns `true` when any of <br>the filenames provided using the <br>`files*` or `files_ignore*` inputs have been added. |
| <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_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_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_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)*. |
@@ -813,7 +814,7 @@ The format of the version string is as follows:
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
... ...
``` ```
@@ -826,7 +827,7 @@ The format of the version string is as follows:
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection. safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
@@ -849,7 +850,7 @@ The format of the version string is as follows:
... ...
- name: Get all changed files and use a comma separator in the output - name: Get all changed files and use a comma separator in the output
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
separator: "," separator: ","
... ...
@@ -866,7 +867,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
- name: List all added files - name: List all added files
env: env:
@@ -889,7 +890,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
- name: Run a step if my-file.txt was modified - name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt') if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -910,7 +911,7 @@ See [outputs](#outputs) for a list of all available outputs.
- name: Get changed files and write the outputs to a Txt file - name: Get changed files and write the outputs to a Txt file
id: changed-files-write-output-files-txt id: changed-files-write-output-files-txt
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
write_output_files: true write_output_files: true
@@ -929,7 +930,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files and write the outputs to a JSON file - name: Get changed files and write the outputs to a JSON file
id: changed-files-write-output-files-json id: changed-files-write-output-files-json
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
json: true json: true
write_output_files: true write_output_files: true
@@ -949,7 +950,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files: | files: |
my-file.txt my-file.txt
@@ -972,7 +973,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files - name: Get changed files
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files: | files: |
my-file.txt my-file.txt
@@ -1023,7 +1024,7 @@ See [outputs](#outputs) for a list of all available outputs.
... ...
- name: Get changed files using a source file or list of file(s) to populate to files input. - name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file id: changed-files-specific-source-file
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files_from_source_file: test/changed-files-list.txt files_from_source_file: test/changed-files-list.txt
... ...
@@ -1040,7 +1041,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files. - name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
id: changed-files-specific-source-file-and-specify-files id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files_from_source_file: | files_from_source_file: |
test/changed-files-list.txt test/changed-files-list.txt
@@ -1061,7 +1062,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a different SHA - name: Get changed files using a different SHA
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
sha: ${{ github.event.pull_request.head.sha }} sha: ${{ github.event.pull_request.head.sha }}
... ...
@@ -1078,7 +1079,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed files using a different base SHA - name: Get changed files using a different base SHA
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
base_sha: ${{ github.event.pull_request.base.sha }} base_sha: ${{ github.event.pull_request.base.sha }}
... ...
@@ -1110,7 +1111,7 @@ jobs:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
- name: List changed files - name: List changed files
env: env:
@@ -1120,7 +1121,7 @@ jobs:
- name: Get changed files in the .github folder - name: Get changed files in the .github folder
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files: .github/** files: .github/**
@@ -1151,7 +1152,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with defaults in dir1 - name: Run changed-files with defaults in dir1
id: changed-files-for-dir1 id: changed-files-for-dir1
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
path: dir1 path: dir1
@@ -1176,13 +1177,13 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with quotepath disabled - name: Run changed-files with quotepath disabled
id: changed-files-quotepath id: changed-files-quotepath
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
quotepath: "false" quotepath: "false"
- name: Run changed-files with quotepath disabled for a specified list of file(s) - name: Run changed-files with quotepath disabled for a specified list of file(s)
id: changed-files-quotepath-specific id: changed-files-quotepath-specific
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
files: test/test-è.txt files: test/test-è.txt
quotepath: "false" quotepath: "false"
@@ -1215,7 +1216,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run - name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push id: changed-files-base-sha-push
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }} base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
... ...
@@ -1242,7 +1243,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run on the main branch - name: Run changed-files with the commit of the last successful test workflow run on the main branch
id: changed-files-base-sha-pull-request id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }} base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
... ...
@@ -1268,7 +1269,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with dir_names - name: Run changed-files with dir_names
id: changed-files-dir-names id: changed-files-dir-names
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
dir_names: "true" dir_names: "true"
... ...
@@ -1285,7 +1286,7 @@ See [inputs](#inputs) for more information.
... ...
- name: Run changed-files with JSON output - name: Run changed-files with JSON output
id: changed-files-json id: changed-files-json
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
json: "true" json: "true"
... ...
@@ -1302,13 +1303,13 @@ See [inputs](#inputs) for more information.
... ...
- name: Get changed-files since 2022-08-19 - name: Get changed-files since 2022-08-19
id: changed-files-since id: changed-files-since
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
since: "2022-08-19" since: "2022-08-19"
- name: Get changed-files until 2022-08-20 - name: Get changed-files until 2022-08-20
id: changed-files-until id: changed-files-until
uses: tj-actions/changed-files@6cb76d07bee4c9772c6882c06c37837bf82a04d3 # v46 uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
with: with:
until: "2022-08-20" until: "2022-08-20"
... ...
@@ -1446,6 +1447,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr> </tr>
<tr> <tr>
<td align="center" valign="top" width="14.28%"><a href="https://undefined.moe/"><img src="https://avatars.githubusercontent.com/u/29992205?v=4?s=100" width="100px;" alt="undefined"/><br /><sub><b>undefined</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=undefined-moe" title="Documentation">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://undefined.moe/"><img src="https://avatars.githubusercontent.com/u/29992205?v=4?s=100" width="100px;" alt="undefined"/><br /><sub><b>undefined</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=undefined-moe" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Jellyfrog"><img src="https://avatars.githubusercontent.com/u/759887?v=4?s=100" width="100px;" alt="Jellyfrog"/><br /><sub><b>Jellyfrog</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=Jellyfrog" title="Code">💻</a> <a href="https://github.com/tj-actions/changed-files/commits?author=Jellyfrog" title="Documentation">📖</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@@ -250,6 +250,8 @@ outputs:
description: "Returns only files that are Added (A)." description: "Returns only files that are Added (A)."
added_files_count: added_files_count:
description: "Returns the number of `added_files`" description: "Returns the number of `added_files`"
any_added:
description: "Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been added."
copied_files: copied_files:
description: "Returns only files that are Copied (C)." description: "Returns only files that are Copied (C)."
copied_files_count: copied_files_count:
@@ -324,7 +326,7 @@ outputs:
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: runs:
using: 'node20' using: 'node24'
main: 'dist/index.js' main: 'dist/index.js'
branding: branding:

168
dist/index.js generated vendored
View File

@@ -452,6 +452,13 @@ const setOutputsAndGetModifiedAndChangedFilesStatus = async ({ allDiffFiles, all
writeOutputFiles: inputs.writeOutputFiles, writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir outputDir: inputs.outputDir
}); });
await (0, utils_1.setOutput)({
key: (0, utils_1.getOutputKey)('any_added', outputPrefix),
value: addedFiles.paths.length > 0,
writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir,
json: inputs.json
});
const copiedFiles = await (0, changedFiles_1.getChangeTypeFiles)({ const copiedFiles = await (0, changedFiles_1.getChangeTypeFiles)({
inputs, inputs,
changedFiles: allFilteredDiffFiles, changedFiles: allFilteredDiffFiles,
@@ -4873,6 +4880,7 @@ class Context {
this.action = process.env.GITHUB_ACTION; this.action = process.env.GITHUB_ACTION;
this.actor = process.env.GITHUB_ACTOR; this.actor = process.env.GITHUB_ACTOR;
this.job = process.env.GITHUB_JOB; this.job = process.env.GITHUB_JOB;
this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);
this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10); this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);
this.runId = parseInt(process.env.GITHUB_RUN_ID, 10); this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);
this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`; this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;
@@ -43642,7 +43650,7 @@ module.exports = {
const { parseSetCookie } = __nccwpck_require__(8915) const { parseSetCookie } = __nccwpck_require__(8915)
const { stringify, getHeadersList } = __nccwpck_require__(3834) const { stringify } = __nccwpck_require__(3834)
const { webidl } = __nccwpck_require__(4222) const { webidl } = __nccwpck_require__(4222)
const { Headers } = __nccwpck_require__(6349) const { Headers } = __nccwpck_require__(6349)
@@ -43718,14 +43726,13 @@ function getSetCookies (headers) {
webidl.brandCheck(headers, Headers, { strict: false }) webidl.brandCheck(headers, Headers, { strict: false })
const cookies = getHeadersList(headers).cookies const cookies = headers.getSetCookie()
if (!cookies) { if (!cookies) {
return [] return []
} }
// In older versions of undici, cookies is a list of name:value. return cookies.map((pair) => parseSetCookie(pair))
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
} }
/** /**
@@ -44153,14 +44160,15 @@ module.exports = {
/***/ }), /***/ }),
/***/ 3834: /***/ 3834:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { /***/ ((module) => {
"use strict"; "use strict";
const assert = __nccwpck_require__(2613) /**
const { kHeadersList } = __nccwpck_require__(6443) * @param {string} value
* @returns {boolean}
*/
function isCTLExcludingHtab (value) { function isCTLExcludingHtab (value) {
if (value.length === 0) { if (value.length === 0) {
return false return false
@@ -44421,31 +44429,13 @@ function stringify (cookie) {
return out.join('; ') return out.join('; ')
} }
let kHeadersListNode
function getHeadersList (headers) {
if (headers[kHeadersList]) {
return headers[kHeadersList]
}
if (!kHeadersListNode) {
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
(symbol) => symbol.description === 'headers list'
)
assert(kHeadersListNode, 'Headers cannot be parsed')
}
const headersList = headers[kHeadersListNode]
assert(headersList)
return headersList
}
module.exports = { module.exports = {
isCTLExcludingHtab, isCTLExcludingHtab,
stringify, validateCookieName,
getHeadersList validateCookiePath,
validateCookieValue,
toIMFDate,
stringify
} }
@@ -48449,6 +48439,7 @@ const {
isValidHeaderName, isValidHeaderName,
isValidHeaderValue isValidHeaderValue
} = __nccwpck_require__(5523) } = __nccwpck_require__(5523)
const util = __nccwpck_require__(9023)
const { webidl } = __nccwpck_require__(4222) const { webidl } = __nccwpck_require__(4222)
const assert = __nccwpck_require__(2613) const assert = __nccwpck_require__(2613)
@@ -49002,6 +48993,9 @@ Object.defineProperties(Headers.prototype, {
[Symbol.toStringTag]: { [Symbol.toStringTag]: {
value: 'Headers', value: 'Headers',
configurable: true configurable: true
},
[util.inspect.custom]: {
enumerable: false
} }
}) })
@@ -58178,6 +58172,20 @@ class Pool extends PoolBase {
? { ...options.interceptors } ? { ...options.interceptors }
: undefined : undefined
this[kFactory] = factory this[kFactory] = factory
this.on('connectionError', (origin, targets, error) => {
// If a connection error occurs, we remove the client from the pool,
// and emit a connectionError event. They will not be re-used.
// Fixes https://github.com/nodejs/undici/issues/3895
for (const target of targets) {
// Do not use kRemoveClient here, as it will close the client,
// but the client cannot be closed in this state.
const idx = this[kClients].indexOf(target)
if (idx !== -1) {
this[kClients].splice(idx, 1)
}
}
})
} }
[kGetDispatcher] () { [kGetDispatcher] () {
@@ -60652,14 +60660,6 @@ module.exports = require("net");
/***/ }), /***/ }),
/***/ 4573:
/***/ ((module) => {
"use strict";
module.exports = require("node:buffer");
/***/ }),
/***/ 7598: /***/ 7598:
/***/ ((module) => { /***/ ((module) => {
@@ -60676,14 +60676,6 @@ module.exports = require("node:events");
/***/ }), /***/ }),
/***/ 1708:
/***/ ((module) => {
"use strict";
module.exports = require("node:process");
/***/ }),
/***/ 7075: /***/ 7075:
/***/ ((module) => { /***/ ((module) => {
@@ -60724,6 +60716,14 @@ module.exports = require("perf_hooks");
/***/ }), /***/ }),
/***/ 932:
/***/ ((module) => {
"use strict";
module.exports = require("process");
/***/ }),
/***/ 3480: /***/ 3480:
/***/ ((module) => { /***/ ((module) => {
@@ -62811,7 +62811,7 @@ exports.composeScalar = composeScalar;
"use strict"; "use strict";
var node_process = __nccwpck_require__(1708); var node_process = __nccwpck_require__(932);
var directives = __nccwpck_require__(1342); var directives = __nccwpck_require__(1342);
var Document = __nccwpck_require__(3021); var Document = __nccwpck_require__(3021);
var errors = __nccwpck_require__(1464); var errors = __nccwpck_require__(1464);
@@ -64004,8 +64004,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
if (token.source.endsWith(':')) if (token.source.endsWith(':'))
onError(token.offset + token.source.length - 1, 'BAD_ALIAS', 'Anchor ending in : is ambiguous', true); onError(token.offset + token.source.length - 1, 'BAD_ALIAS', 'Anchor ending in : is ambiguous', true);
anchor = token; anchor = token;
if (start === null) start ?? (start = token.offset);
start = token.offset;
atNewline = false; atNewline = false;
hasSpace = false; hasSpace = false;
reqSpace = true; reqSpace = true;
@@ -64014,8 +64013,7 @@ function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIn
if (tag) if (tag)
onError(token, 'MULTIPLE_TAGS', 'A node can have at most one tag'); onError(token, 'MULTIPLE_TAGS', 'A node can have at most one tag');
tag = token; tag = token;
if (start === null) start ?? (start = token.offset);
start = token.offset;
atNewline = false; atNewline = false;
hasSpace = false; hasSpace = false;
reqSpace = true; reqSpace = true;
@@ -64134,8 +64132,7 @@ exports.containsNewline = containsNewline;
function emptyScalarPosition(offset, before, pos) { function emptyScalarPosition(offset, before, pos) {
if (before) { if (before) {
if (pos === null) pos ?? (pos = before.length);
pos = before.length;
for (let i = pos - 1; i >= 0; --i) { for (let i = pos - 1; i >= 0; --i) {
let st = before[i]; let st = before[i];
switch (st.type) { switch (st.type) {
@@ -64603,8 +64600,7 @@ function createNodeAnchors(doc, prefix) {
return { return {
onAnchor: (source) => { onAnchor: (source) => {
aliasObjects.push(source); aliasObjects.push(source);
if (!prevAnchors) prevAnchors ?? (prevAnchors = anchorNames(doc));
prevAnchors = anchorNames(doc);
const anchor = findNewAnchor(prefix, prevAnchors); const anchor = findNewAnchor(prefix, prevAnchors);
prevAnchors.add(anchor); prevAnchors.add(anchor);
return anchor; return anchor;
@@ -64752,8 +64748,7 @@ function createNode(value, tagName, ctx) {
if (aliasDuplicateObjects && value && typeof value === 'object') { if (aliasDuplicateObjects && value && typeof value === 'object') {
ref = sourceObjects.get(value); ref = sourceObjects.get(value);
if (ref) { if (ref) {
if (!ref.anchor) ref.anchor ?? (ref.anchor = onAnchor(value));
ref.anchor = onAnchor(value);
return new Alias.Alias(ref.anchor); return new Alias.Alias(ref.anchor);
} }
else { else {
@@ -65125,7 +65120,7 @@ exports.visitAsync = visit.visitAsync;
"use strict"; "use strict";
var node_process = __nccwpck_require__(1708); var node_process = __nccwpck_require__(932);
function debug(logLevel, ...messages) { function debug(logLevel, ...messages) {
if (logLevel === 'debug') if (logLevel === 'debug')
@@ -65172,23 +65167,36 @@ class Alias extends Node.NodeBase {
* Resolve the value of this alias within `doc`, finding the last * Resolve the value of this alias within `doc`, finding the last
* instance of the `source` anchor before this node. * instance of the `source` anchor before this node.
*/ */
resolve(doc) { resolve(doc, ctx) {
let nodes;
if (ctx?.aliasResolveCache) {
nodes = ctx.aliasResolveCache;
}
else {
nodes = [];
visit.visit(doc, {
Node: (_key, node) => {
if (identity.isAlias(node) || identity.hasAnchor(node))
nodes.push(node);
}
});
if (ctx)
ctx.aliasResolveCache = nodes;
}
let found = undefined; let found = undefined;
visit.visit(doc, { for (const node of nodes) {
Node: (_key, node) => { if (node === this)
if (node === this) break;
return visit.visit.BREAK; if (node.anchor === this.source)
if (node.anchor === this.source) found = node;
found = node; }
}
});
return found; return found;
} }
toJSON(_arg, ctx) { toJSON(_arg, ctx) {
if (!ctx) if (!ctx)
return { source: this.source }; return { source: this.source };
const { anchors, doc, maxAliasCount } = ctx; const { anchors, doc, maxAliasCount } = ctx;
const source = this.resolve(doc); const source = this.resolve(doc, ctx);
if (!source) { if (!source) {
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`; const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
throw new ReferenceError(msg); throw new ReferenceError(msg);
@@ -65869,6 +65877,7 @@ function addPairToJSMap(ctx, map, { key, value }) {
function stringifyKey(key, jsKey, ctx) { function stringifyKey(key, jsKey, ctx) {
if (jsKey === null) if (jsKey === null)
return ''; return '';
// eslint-disable-next-line @typescript-eslint/no-base-to-string
if (typeof jsKey !== 'object') if (typeof jsKey !== 'object')
return String(jsKey); return String(jsKey);
if (identity.isNode(key) && ctx?.doc) { if (identity.isNode(key) && ctx?.doc) {
@@ -67310,7 +67319,7 @@ exports.LineCounter = LineCounter;
"use strict"; "use strict";
var node_process = __nccwpck_require__(1708); var node_process = __nccwpck_require__(932);
var cst = __nccwpck_require__(3461); var cst = __nccwpck_require__(3461);
var lexer = __nccwpck_require__(361); var lexer = __nccwpck_require__(361);
@@ -68901,7 +68910,7 @@ exports.getTags = getTags;
"use strict"; "use strict";
var node_buffer = __nccwpck_require__(4573); var node_buffer = __nccwpck_require__(181);
var Scalar = __nccwpck_require__(3301); var Scalar = __nccwpck_require__(3301);
var stringifyString = __nccwpck_require__(3069); var stringifyString = __nccwpck_require__(3069);
@@ -68954,8 +68963,7 @@ const binary = {
else { else {
throw new Error('This environment does not support writing binary tags; either Buffer or btoa is required'); throw new Error('This environment does not support writing binary tags; either Buffer or btoa is required');
} }
if (!type) type ?? (type = Scalar.Scalar.BLOCK_LITERAL);
type = Scalar.Scalar.BLOCK_LITERAL;
if (type !== Scalar.Scalar.QUOTE_DOUBLE) { if (type !== Scalar.Scalar.QUOTE_DOUBLE) {
const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth); const lineWidth = Math.max(ctx.options.lineWidth - ctx.indent.length, ctx.options.minContentWidth);
const n = Math.ceil(str.length / lineWidth); const n = Math.ceil(str.length / lineWidth);
@@ -69905,7 +69913,7 @@ function getTagObject(tags, item) {
tagObj = tags.find(t => t.nodeClass && obj instanceof t.nodeClass); tagObj = tags.find(t => t.nodeClass && obj instanceof t.nodeClass);
} }
if (!tagObj) { if (!tagObj) {
const name = obj?.constructor?.name ?? typeof obj; const name = obj?.constructor?.name ?? (obj === null ? 'null' : typeof obj);
throw new Error(`Tag not resolved for ${name} value`); throw new Error(`Tag not resolved for ${name} value`);
} }
return tagObj; return tagObj;
@@ -69920,7 +69928,7 @@ function stringifyProps(node, tagObj, { anchors: anchors$1, doc }) {
anchors$1.add(anchor); anchors$1.add(anchor);
props.push(`&${anchor}`); props.push(`&${anchor}`);
} }
const tag = node.tag ? node.tag : tagObj.default ? null : tagObj.tag; const tag = node.tag ?? (tagObj.default ? null : tagObj.tag);
if (tag) if (tag)
props.push(doc.directives.tagString(tag)); props.push(doc.directives.tagString(tag));
return props.join(' '); return props.join(' ');
@@ -69946,8 +69954,7 @@ function stringify(item, ctx, onComment, onChompKeep) {
const node = identity.isNode(item) const node = identity.isNode(item)
? item ? item
: ctx.doc.createNode(item, { onTagObj: o => (tagObj = o) }); : ctx.doc.createNode(item, { onTagObj: o => (tagObj = o) });
if (!tagObj) tagObj ?? (tagObj = getTagObject(ctx.doc.schema.tags, node));
tagObj = getTagObject(ctx.doc.schema.tags, node);
const props = stringifyProps(node, tagObj, ctx); const props = stringifyProps(node, tagObj, ctx);
if (props.length > 0) if (props.length > 0)
ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1; ctx.indentAtStart = (ctx.indentAtStart ?? 0) + props.length + 1;
@@ -70610,7 +70617,7 @@ function blockString({ comment, type, value }, ctx, onComment, onChompKeep) {
const { blockQuote, commentString, lineWidth } = ctx.options; const { blockQuote, commentString, lineWidth } = ctx.options;
// 1. Block can't end in whitespace unless the last line is non-empty. // 1. Block can't end in whitespace unless the last line is non-empty.
// 2. Strings consisting of only whitespace are best rendered explicitly. // 2. Strings consisting of only whitespace are best rendered explicitly.
if (!blockQuote || /\n[\t ]+$/.test(value) || /^\s*$/.test(value)) { if (!blockQuote || /\n[\t ]+$/.test(value)) {
return quotedString(value, ctx); return quotedString(value, ctx);
} }
const indent = ctx.indent || const indent = ctx.indent ||
@@ -70704,10 +70711,9 @@ function plainString(item, ctx, onComment, onChompKeep) {
(inFlow && /[[\]{},]/.test(value))) { (inFlow && /[[\]{},]/.test(value))) {
return quotedString(value, ctx); return quotedString(value, ctx);
} }
if (!value || if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) {
/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(value)) {
// not allowed: // not allowed:
// - empty string, '-' or '?' // - '-' or '?'
// - start with an indicator character (except [?:-]) or /[?-] / // - start with an indicator character (except [?:-]) or /[?-] /
// - '\n ', ': ' or ' \n' anywhere // - '\n ', ': ' or ' \n' anywhere
// - '#' not preceded by a non-space char // - '#' not preceded by a non-space char

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -36,17 +36,17 @@
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"@octokit/rest": "^21.0.0", "@octokit/rest": "^22.0.0",
"@stdlib/utils-convert-path": "^0.2.1", "@stdlib/utils-convert-path": "^0.2.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"micromatch": "^4.0.5", "micromatch": "^4.0.5",
"yaml": "^2.3.1" "yaml": "^2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.2", "@types/jest": "^30.0.0",
"@types/lodash": "^4.14.195", "@types/lodash": "^4.14.195",
"@types/micromatch": "^4.0.2", "@types/micromatch": "^4.0.2",
"@types/node": "^22.0.0", "@types/node": "^24.0.1",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0", "@typescript-eslint/parser": "^7.0.0",
@@ -54,9 +54,9 @@
"eslint": "^8.43.0", "eslint": "^8.43.0",
"eslint-config-prettier": "^10.0.0", "eslint-config-prettier": "^10.0.0",
"eslint-plugin-github": "^5.0.0", "eslint-plugin-github": "^5.0.0",
"eslint-plugin-jest": "^28.0.0", "eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.0.0-alpha.2", "eslint-plugin-prettier": "^5.0.0-alpha.2",
"jest": "^29.5.0", "jest": "^30.0.3",
"prettier": "^3.0.0", "prettier": "^3.0.0",
"ts-jest": "^29.1.0", "ts-jest": "^29.1.0",
"typescript": "^5.1.3" "typescript": "^5.1.3"

View File

@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`getInputs should correctly parse boolean inputs 1`] = ` exports[`getInputs should correctly parse boolean inputs 1`] = `
{ {

View File

@@ -52,6 +52,13 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
writeOutputFiles: inputs.writeOutputFiles, writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir outputDir: inputs.outputDir
}) })
await setOutput({
key: getOutputKey('any_added', outputPrefix),
value: addedFiles.paths.length > 0,
writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir,
json: inputs.json
})
const copiedFiles = await getChangeTypeFiles({ const copiedFiles = await getChangeTypeFiles({
inputs, inputs,

View File

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

2216
yarn.lock

File diff suppressed because it is too large Load Diff