Compare commits

..

212 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
08979f08a7 fix: exclude src/__tests__ from tsc compilation to fix NodeNext module resolution errors
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
2026-03-02 20:51:17 -07:00
copilot-swe-agent[bot]
c86d03b395 feat: migrate to ESM for @actions/* package compatibility
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
2026-03-02 20:51:17 -07:00
copilot-swe-agent[bot]
9eccd3b31f chore: plan ESM migration for @actions/* packages
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
2026-03-02 20:51:17 -07:00
dependabot[bot]
6c02e900a2 chore(deps): bump github/codeql-action from 4.32.4 to 4.32.5 (#2815)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 20:50:59 -07:00
dependabot[bot]
05f9457d92 chore(deps-dev): bump eslint-plugin-prettier from 5.5.4 to 5.5.5 (#2764)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:18:34 -07:00
dependabot[bot]
52ed872dd7 chore(deps): bump lodash and @types/lodash (#2807)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:17:43 -07:00
dependabot[bot]
1cc5746379 chore(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 (#2774)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:17:19 -07:00
dependabot[bot]
de2962f9f4 chore(deps-dev): bump prettier from 3.7.4 to 3.8.1 (#2775)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:16:52 -07:00
dependabot[bot]
37e96ccbfe chore(deps): bump github/codeql-action from 4.32.2 to 4.32.4 (#2806)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:16:31 -07:00
dependabot[bot]
2180b0f05d chore(deps-dev): bump eslint-plugin-jest from 29.12.1 to 29.15.0 (#2799)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:16:16 -07:00
dependabot[bot]
cf021c158c chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 (#2809)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:12:30 -07:00
dependabot[bot]
b54ac6f17f chore(deps): bump actions/download-artifact from 7.0.0 to 8.0.0 (#2810)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:12:15 -07:00
dependabot[bot]
0f2a510bd7 chore(deps-dev): bump @types/node from 25.2.2 to 25.3.2 (#2811)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-28 16:12:03 -07:00
github-actions[bot]
35dace0375 Updated README.md (#2805)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-22 02:22:30 -07:00
github-actions[bot]
9ee99eb5bd Updated README.md (#2803)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2026-02-22 02:16:20 -07:00
github-actions[bot]
b7ac303c86 Upgraded to v47.0.4 (#2802)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2026-02-17 06:42:56 -07:00
Tonye Jack
7dee1b0c15 update: release-tagger action to version 6.0.6 (#2801) 2026-02-17 06:38:30 -07:00
Tonye Jack
28b28f6e4e update: release-tagger action to version 6.0.0 (#2800) 2026-02-17 04:47:29 -07:00
dependabot[bot]
875e6e5df8 chore(deps): bump github/codeql-action from 4.31.10 to 4.32.2 (#2790)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 22:42:38 +00:00
dependabot[bot]
8cba46e29c chore(deps): bump actions/setup-node from 6.1.0 to 6.2.0 (#2766)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 13:44:36 -07:00
dependabot[bot]
925972f627 chore(deps-dev): bump @types/node from 25.0.0 to 25.2.2 (#2793)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 13:42:32 -07:00
dependabot[bot]
a98754bb6a chore(deps): bump @stdlib/utils-convert-path from 0.2.2 to 0.2.3 (#2795)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 13:42:20 -07:00
dependabot[bot]
9c13e73478 chore(deps): bump actions/checkout from 6.0.1 to 6.0.2 (#2777)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 13:41:55 -07:00
Tonye Jack
caee9d94ce fix: Update test.yml (#2781) 2026-01-27 22:14:10 +00:00
dependabot[bot]
16d791cc10 chore(deps-dev): bump @types/lodash from 4.17.21 to 4.17.23 (#2759)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-27 14:16:33 -07:00
dependabot[bot]
8e056dec7d chore(deps-dev): bump eslint-plugin-jest from 29.11.0 to 29.12.1 (#2756)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-27 14:16:02 -07:00
github-actions[bot]
7d5bbf4e8d Updated README.md (#2771)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-20 03:50:29 -07:00
dependabot[bot]
078e2bcd1e chore(deps): bump github/codeql-action from 4.31.7 to 4.31.10 (#2761)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-19 23:51:43 -07:00
Tonye Jack
8c4da285a3 feat: add support for excluding symlinks and fix bug with commit not found (#2770) 2026-01-20 06:51:22 +00:00
Tonye Jack
2f2f6cf099 chore: update matrix-example.yml (#2752) 2026-01-20 06:04:02 +00:00
Tonye Jack
8262acc559 chore: update dist (#2769) 2026-01-20 05:29:17 +00:00
github-actions[bot]
b3bb1f8753 Updated README.md (#2768)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-19 22:14:54 -07:00
Tonye Jack
c6a5847dac Update README.md 2026-01-19 16:21:48 -07:00
dependabot[bot]
daf9d2d497 chore(deps): bump @actions/core from 2.0.0 to 2.0.2 (#2757)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-14 19:21:24 -07:00
dependabot[bot]
3c4bc6fa0c chore(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 (#2743)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-28 14:57:29 -07:00
dependabot[bot]
cd7fbbcebb chore(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 (#2741)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-28 14:57:04 -07:00
dependabot[bot]
60a1a28396 chore(deps-dev): bump eslint-plugin-jest from 29.2.1 to 29.11.0 (#2751)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-28 14:48:19 -07:00
dependabot[bot]
e002140703 chore(deps): bump actions/checkout from 6.0.0 to 6.0.1 (#2729)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:53:39 -07:00
dependabot[bot]
01ddfae411 chore(deps): bump @actions/core from 1.11.1 to 2.0.0 (#2736)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:53:21 -07:00
dependabot[bot]
a364493bbb chore(deps-dev): bump prettier from 3.7.1 to 3.7.4 (#2731)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:51:15 -07:00
dependabot[bot]
45a2aae7ee chore(deps): bump actions/setup-node from 6.0.0 to 6.1.0 (#2730)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:51:00 -07:00
dependabot[bot]
a4f6de32d5 chore(deps): bump github/codeql-action from 4.31.5 to 4.31.7 (#2732)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:50:41 -07:00
dependabot[bot]
95fbe9b431 chore(deps): bump peter-evans/create-pull-request from 7.0.9 to 8.0.0 (#2735)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:50:28 -07:00
dependabot[bot]
b3b97244a9 chore(deps-dev): bump ts-jest from 29.4.5 to 29.4.6 (#2727)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:49:58 -07:00
dependabot[bot]
503bc3e7d7 chore(deps): bump @actions/exec from 1.1.1 to 2.0.0 (#2737)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:49:37 -07:00
dependabot[bot]
3e9e5a2aa2 chore(deps-dev): bump @types/node from 24.10.1 to 25.0.0 (#2738)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:49:24 -07:00
dependabot[bot]
2b6c719845 chore(deps): bump yaml from 2.8.1 to 2.8.2 (#2724)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-11 04:48:56 -07:00
github-actions[bot]
043285ef6c Updated README.md (#2723)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-11 04:48:26 -07:00
dependabot[bot]
abdd2f68ea chore(deps): bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#2717)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 11:06:16 -07:00
dependabot[bot]
1d08ab228c chore(deps-dev): bump @types/lodash from 4.17.20 to 4.17.21 (#2718)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 11:06:06 -07:00
dependabot[bot]
085eb10d7e chore(deps-dev): bump eslint-plugin-jest from 29.1.0 to 29.2.1 (#2719)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 11:05:54 -07:00
dependabot[bot]
72321d1f00 chore(deps): bump github/codeql-action from 4.31.4 to 4.31.5 (#2720)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 11:05:45 -07:00
dependabot[bot]
8c66df4f78 chore(deps-dev): bump prettier from 3.6.2 to 3.7.1 (#2722)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-28 11:05:34 -07:00
dependabot[bot]
6da3c88b60 chore(deps): bump nrwl/nx-set-shas from 4.3.3 to 4.4.0 (#2712)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 22:13:36 +00:00
dependabot[bot]
48b6e9756d chore(deps): bump actions/checkout from 5.0.0 to 5.0.1 (#2714)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 13:37:30 -07:00
Tonye Jack
4206138f17 Update README.md 2025-11-20 13:35:40 -07:00
dependabot[bot]
31e663cd71 chore(deps): bump github/codeql-action from 4.31.2 to 4.31.4 (#2715)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 13:26:12 -07:00
dependabot[bot]
46fd332157 chore(deps-dev): bump @types/node from 24.10.0 to 24.10.1 (#2711)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-20 13:25:15 -07:00
dependabot[bot]
2d752abc95 chore(deps-dev): bump eslint-plugin-jest from 29.0.1 to 29.1.0 (#2710)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-19 13:00:44 -07:00
dependabot[bot]
70069877f2 chore(deps): bump @octokit/rest from 22.0.0 to 22.0.1 (#2705)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-04 21:18:56 -07:00
dependabot[bot]
5df1bad3a5 chore(deps-dev): bump @types/node from 24.9.2 to 24.10.0 (#2707)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-04 21:18:45 -07:00
dependabot[bot]
0ff001de08 chore(deps-dev): bump ts-jest from 29.4.4 to 29.4.5 (#2688)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 21:20:36 +00:00
dependabot[bot]
52b808ab08 chore(deps-dev): bump @types/micromatch from 4.0.9 to 4.0.10 (#2699)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 21:03:28 +00:00
dependabot[bot]
d6388b78bd chore(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 (#2697)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 14:27:15 -06:00
dependabot[bot]
cf5e80aa29 chore(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 (#2698)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 14:27:08 -06:00
dependabot[bot]
cff4543226 chore(deps-dev): bump @types/node from 24.9.1 to 24.9.2 (#2700)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 14:26:58 -06:00
dependabot[bot]
9dc1b5f80e chore(deps): bump github/codeql-action from 4.30.9 to 4.31.2 (#2702)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-31 14:26:43 -06:00
dependabot[bot]
dbf178ceec chore(deps): bump actions/setup-node from 5.0.0 to 6.0.0 (#2690)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:51:02 -06:00
dependabot[bot]
1900262303 chore(deps): bump github/codeql-action from 3.30.6 to 4.30.9 (#2693)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:50:09 -06:00
dependabot[bot]
27e5d78f9b chore(deps-dev): bump @types/node from 24.6.2 to 24.9.1 (#2695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:49:32 -06:00
dependabot[bot]
d03a93c0db chore(deps): bump github/codeql-action from 3.30.5 to 3.30.6 (#2680)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 10:39:28 -06:00
dependabot[bot]
df9aabcdef chore(deps-dev): bump @types/node from 24.6.1 to 24.6.2 (#2681)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 10:39:15 -06:00
dependabot[bot]
d6f020b1d9 chore(deps-dev): bump @types/node from 24.5.2 to 24.6.1 (#2679)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 14:41:12 -06:00
dependabot[bot]
212f9a7760 chore(deps-dev): bump jest from 30.1.3 to 30.2.0 (#2677)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 12:05:50 -06:00
dependabot[bot]
0dc2215e58 chore(deps): bump github/codeql-action from 3.30.4 to 3.30.5 (#2676)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 12:05:34 -06:00
dependabot[bot]
28cf3adc4b chore(deps-dev): bump ts-jest from 29.4.3 to 29.4.4 (#2672)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-27 19:17:22 -06:00
dependabot[bot]
0b7adf7963 chore(deps): bump github/codeql-action from 3.30.3 to 3.30.4 (#2675)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-27 19:17:08 -06:00
dependabot[bot]
4563c729c5 chore(deps-dev): bump @types/node from 24.4.0 to 24.5.2 (#2669)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-19 16:02:40 +00:00
dependabot[bot]
257f3acedc chore(deps-dev): bump @types/uuid from 10.0.0 to 11.0.0 (#2668)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-19 15:44:51 +00:00
dependabot[bot]
cac596ed08 chore(deps-dev): bump @vercel/ncc from 0.38.3 to 0.38.4 (#2670)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-19 09:12:43 -06:00
dependabot[bot]
4fb6914af9 chore(deps-dev): bump ts-jest from 29.4.1 to 29.4.3 (#2671)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-19 09:12:35 -06:00
dependabot[bot]
2371aa7cd2 chore(deps-dev): bump @types/node from 24.3.1 to 24.4.0 (#2664)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 15:06:27 -06:00
github-actions[bot]
1ac6096503 Upgraded to v47 (#2663)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-13 07:50:58 -06:00
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
dependabot[bot]
ed68ef82c0 chore(deps): bump yaml from 2.7.0 to 2.7.1 (#2520)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 03:16:25 +00:00
dependabot[bot]
a7bc14b808 chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 (#2516)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 21:05:14 -06:00
dependabot[bot]
3d751f6b6d chore(deps-dev): bump @types/node from 22.13.11 to 22.14.0 (#2517)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 02:57:08 +00:00
dependabot[bot]
e2fda4ec3c chore(deps-dev): bump eslint-plugin-prettier from 5.2.3 to 5.2.6 (#2519)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 02:49:21 +00:00
dependabot[bot]
0bed1b1132 chore(deps-dev): bump ts-jest from 29.2.6 to 29.3.1 (#2518)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 02:38:43 +00:00
dependabot[bot]
68024587dc chore(deps): bump github/codeql-action from 3.28.12 to 3.28.15 (#2530)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 13:31:05 -06:00
dependabot[bot]
cf2e39e86b chore(deps): bump tj-actions/branch-names from 8.0.1 to 8.1.0 (#2521)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 21:42:43 +00:00
dependabot[bot]
6abeaa506a chore(deps): bump tj-actions/verify-changed-files from 20.0.1 to 20.0.4 (#2523)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 10:43:09 -06:00
github-actions[bot]
6f67ee9ac8 Upgraded to v46.0.4 (#2511)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-04 09:44:28 -06:00
Tonye Jack
6cb76d07be fix: bug modified_keys and changed_key outputs not set when no changes detected (#2509) 2025-04-03 16:44:43 +00:00
Tonye Jack
b74df86ccb docs: update readme (#2508) 2025-03-31 18:32:49 +00:00
github-actions[bot]
27ae6b33ea Upgraded to v46.0.3 (#2506)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2025-03-23 11:10:50 +00:00
dependabot[bot]
823fcebdb3 chore(deps): bump test/demo from 5dfac2e to c6bd3b3 (#2505)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-23 10:27:35 +00:00
Tonye Jack
8132356842 doc: remove warning (#2504) 2025-03-23 00:46:23 +00:00
Tonye Jack
7a369a7175 chore: pin github actions (#2503) 2025-03-22 22:03:14 +00:00
dependabot[bot]
9468856c22 chore(deps-dev): bump @types/node from 22.13.10 to 22.13.11 (#2502)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-22 20:32:32 +00:00
github-actions[bot]
401c7227d1 Upgraded to v46.0.2 (#2500)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2025-03-22 14:22:02 -06:00
github-actions[bot]
41e0de576a Updated README.md (#2501)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-22 14:16:56 -06:00
github-actions[bot]
945787811a Updated README.md (#2499)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-22 14:16:10 -06:00
allcontributors[bot]
26a38635fc docs: add undefined-moe as a contributor for doc (#2498)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-22 14:14:28 -06:00
Tonye Jack
a530a27a79 chore: update sync-release-version.yml to use commit hash for tags in docs (#2497)
Co-authored-by: GitHub Action <action@github.com>
2025-03-22 14:05:47 -06:00
github-actions[bot]
9cc867cd4a Updated README.md (#2496)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-22 13:03:02 -06:00
Tonye Jack
3a33fa99ab docs: Update update-readme.yml to use commit hashes in the docs (#2495) 2025-03-22 12:00:33 -06:00
Tonye Jack
a5cad85977 fix: update log message when attempting to locate merge base (#2493) 2025-03-21 11:02:14 -06:00
github-actions[bot]
f2f439bb2f Updated README.md (#2492)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-21 09:56:28 -06:00
allcontributors[bot]
678ecec172 docs: add RajendraP as a contributor for doc (#2491)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2025-03-20 10:42:19 -06:00
Tonye Jack
6482371e86 docs: update versions (#2488) 2025-03-19 19:13:10 +00:00
dependabot[bot]
0b975f6148 chore(deps): bump actions/setup-node from 4.2.0 to 4.3.0 (#2484)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 19:29:46 -06:00
Tonye Jack
0fee5fb278 docs: remove link to commit (#2481) 2025-03-17 14:20:05 +00:00
github-actions[bot]
531f5f7d16 Updated README.md (#2479)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-16 17:21:36 -06:00
Tonye Jack
dccd1949ad doc: update README.md (#2478) 2025-03-16 23:17:17 +00:00
github-actions[bot]
9237eb7a0f Updated README.md (#2476)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 23:23:05 -06:00
undefined
d52b942ee0 add hint to revoke leaked token (#2475) 2025-03-16 05:18:50 +00:00
github-actions[bot]
45fb12d7a8 Upgraded to v46.0.1 (#2474)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 22:20:29 -06:00
github-actions[bot]
2f7c5bfce2 Updated README.md (#2473)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 22:10:55 -06:00
Tonye Jack
4189ec62c4 update: sync-release-version.yml to use signed commits (#2472) 2025-03-16 04:09:21 +00:00
Tonye Jack
4cd184a1dd update: sync-release-version.yml (#2471) 2025-03-16 03:36:55 +00:00
github-actions[bot]
5cbf22026d Updated README.md (#2469)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-15 20:36:40 -06:00
Tonye Jack
0f1ffe6185 fix: update update-readme.yml to sign-commits (#2468) 2025-03-16 01:26:21 +00:00
Tonye Jack
ddef03e37c fix: update permission in update-readme.yml workflow (#2467) 2025-03-16 01:08:46 +00:00
Tonye Jack
9c2df0d54a fix: update github workflow update-readme.yml (#2466) 2025-03-16 00:45:01 +00:00
Tonye Jack
65253327cf docs: update docs to highlight security issues (#2465) 2025-03-16 00:17:13 +00:00
Tonye Jack
e37e952786 Deleted renovate.json 2025-03-15 17:30:06 -06:00
40 changed files with 28815 additions and 24591 deletions

View File

@@ -254,6 +254,34 @@
"contributions": [
"code"
]
},
{
"login": "RajendraP",
"name": "Rajendra Pandey",
"avatar_url": "https://avatars.githubusercontent.com/u/8928165?v=4",
"profile": "https://github.com/RajendraP",
"contributions": [
"doc"
]
},
{
"login": "undefined-moe",
"name": "undefined",
"avatar_url": "https://avatars.githubusercontent.com/u/29992205?v=4",
"profile": "https://undefined.moe/",
"contributions": [
"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,

View File

@@ -29,12 +29,12 @@ jobs:
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
continue-on-error: true
uses: codacy/codacy-analysis-cli-action@v4.4.5
uses: codacy/codacy-analysis-cli-action@562ee3e92b8e92df8b67e0a5ff8aa8e261919c08 # v4.4.7
with:
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
# You can also omit the token and run the tools that support default configurations
@@ -51,6 +51,6 @@ jobs:
# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
continue-on-error: true
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 # v3.29.5
with:
sarif_file: results.sarif

View File

@@ -43,11 +43,11 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v3.29.5
with:
languages: ${{ matrix.language }}
# 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).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@c793b717bc78562f491db7b0e93a3a178b099162 # v3.29.5
# 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
@@ -74,6 +74,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v3.29.5
with:
category: "/language:${{matrix.language}}"

View File

@@ -1,18 +0,0 @@
name: Greetings
on: [pull_request_target, issues]
permissions:
pull-requests: write
issues: write
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
continue-on-error: true
with:
repo-token: ${{ secrets.PAT_TOKEN }}
issue-message: "Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience."
pr-message: "Thanks for implementing a fix, could you ensure that the test covers your changes if applicable."

View File

@@ -19,7 +19,7 @@ jobs:
NUMBER: ${{ github.event.issue.number }}
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
fetch-depth: 0
@@ -104,7 +104,7 @@ jobs:
NUMBER: ${{ github.event.issue.number }}
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
fetch-depth: 0

View File

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

View File

@@ -17,7 +17,7 @@ jobs:
matrix: ${{ steps.changed-files.outputs.all_changed_files }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Get changed files
@@ -39,7 +39,19 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Test
run: |
echo ${{ matrix.files }}
conditional-job:
name: Run Conditional Job
runs-on: ubuntu-latest
needs: [changed-files]
if: contains(needs.changed-files.outputs.matrix, 'README.md') # Conditional check for README
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Execute Conditional Logic
run: |
echo "README.md has been changed. Running conditional job."

View File

@@ -19,7 +19,7 @@ jobs:
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Get changed files
@@ -45,7 +45,7 @@ jobs:
all_changed_files: ${{ steps.changed-files.outputs.all_changed_files }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Get changed files

View File

@@ -13,21 +13,22 @@ jobs:
update-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Run release-tagger
uses: tj-actions/release-tagger@v4
uses: tj-actions/release-tagger@970a1f5f827a7b90902b0adc904f3bb70c1074e7 # v6.0.6
- name: Sync release version.
uses: tj-actions/sync-release-version@v13
uses: tj-actions/sync-release-version@2a7ef0deb39b3ecce887ee99d2261c6cef989d84 # v13.16
id: sync-release-version
with:
pattern: '${{ github.repository }}@'
only_major: true
use_tag_commit_hash: true
paths: |
README.md
- name: Sync release package version.
uses: tj-actions/sync-release-version@v13
uses: tj-actions/sync-release-version@2a7ef0deb39b3ecce887ee99d2261c6cef989d84 # v13.16
id: sync-release-package-version
with:
pattern: '"version": "'
@@ -35,14 +36,15 @@ jobs:
paths: |
package.json
- name: Run git-cliff
uses: tj-actions/git-cliff@v1
uses: tj-actions/git-cliff@679041f051a4d2ab452f7e5e7b0eed2abee21131 # v2.2.0
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7.0.8
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
base: "main"
labels: "merge when passing"
sign-commits: true
title: "Upgraded to ${{ steps.sync-release-version.outputs.new_version }}"
branch: "upgrade-to-${{ steps.sync-release-version.outputs.new_version }}"
commit-message: "Upgraded from ${{ steps.sync-release-version.outputs.old_version }} -> ${{ steps.sync-release-version.outputs.new_version }}"
body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.sync-release-version.outputs.old_version }}...${{ steps.sync-release-version.outputs.new_version }})"
token: ${{ secrets.PAT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -35,20 +35,20 @@ jobs:
outputs:
files_changed: ${{ steps.changed_files.outputs.files_changed }}
permissions:
contents: read
pull-requests: write
contents: write
pull-requests: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 0
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Use Node.js 20.x
uses: actions/setup-node@v4.2.0
- name: Use Node.js 24.x
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
cache: 'yarn'
node-version: '20.x'
node-version: '24.x'
- name: Create coverage directory and clover.xml
run: |
@@ -60,10 +60,9 @@ jobs:
yarn install
- name: Run eslint on changed files
uses: tj-actions/eslint-changed-files@v25
uses: tj-actions/eslint-changed-files@536c35c8184b8bbd361d3703aa63439e0895c340 # v25.3.2
if: github.event_name == 'pull_request'
with:
token: ${{ secrets.PAT_TOKEN }}
config_path: ".eslintrc.json"
ignore_path: ".eslintignore"
@@ -73,39 +72,29 @@ jobs:
env:
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
- name: Upload build assets
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: build-assets
path: dist
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v20
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
if: github.actor != 'dependabot[bot]'
id: changed_files
id: verify_changed_files
with:
files: |
src
dist
- name: Commit files
if: steps.changed_files.outputs.files_changed == 'true' && github.event_name == 'pull_request'
- name: Verify outstanding changes
if: steps.verify_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'
continue-on-error: true
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT_TOKEN }}
branch: ${{ github.head_ref }}
- name: Upload build assets
uses: actions/upload-artifact@v4
with:
name: build-assets
path: dist
echo "Uncommitted build/lint changes detected. Please run 'yarn all' locally and push the changes for review."
exit 1
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
continue-on-error: true
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
@@ -120,7 +109,7 @@ jobs:
contents: read
steps:
- name: Checkout into dir1
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
@@ -128,7 +117,7 @@ jobs:
path: dir1
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
path: dir1/dist
@@ -154,13 +143,13 @@ jobs:
bash
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
path: dir2/dist
- name: Checkout into dir2
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
@@ -196,13 +185,13 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -256,13 +245,13 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -286,6 +275,113 @@ jobs:
shell:
bash
test-skip-same-base-and-commit-sha:
name: Test changed-files skip same base and commit sha
runs-on: ubuntu-latest
needs: build
if: needs.build.outputs.files_changed != 'true'
permissions:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
- name: Get head SHA
id: head-sha
run: |
echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
shell:
bash
- name: Run changed-files with same base and commit sha
id: changed-files
uses: ./
with:
base_sha: ${{ steps.head-sha.outputs.sha }}
sha: ${{ steps.head-sha.outputs.sha }}
skip_same_sha: true
- name: Verify empty outputs
if: steps.changed-files.outputs.all_changed_files_count != '0' || steps.changed-files.outputs.any_changed != 'false'
run: |
echo "Expected empty outputs; got count=${{ steps.changed-files.outputs.all_changed_files_count }} any_changed=${{ steps.changed-files.outputs.any_changed }}"
exit 1
shell:
bash
- name: Show output
run: |
echo '${{ toJSON(steps.changed-files.outputs) }}'
shell:
bash
test-exclude-symlinks:
name: Test changed-files exclude symlinks
runs-on: ubuntu-latest
needs: build
if: needs.build.outputs.files_changed != 'true'
permissions:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
- name: Run changed-files without symlink exclusion
id: changed-files-symlink-included
uses: ./
with:
base_sha: 2f2f6cf099167fa7d7c6aba8fc0421327e181a5a
sha: 8c4da285a3cb8b621b4a5cc251d6282b4b0a67a5
- name: Verify symlink is present
if: "!contains(steps.changed-files-symlink-included.outputs.added_files, 'test/symlink-to-target')"
run: |
echo "Expected symlink to be present in added_files; got ${{ steps.changed-files-symlink-included.outputs.added_files }}"
exit 1
shell:
bash
- name: Run changed-files excluding symlinks
id: changed-files-symlink-excluded
uses: ./
with:
base_sha: 2f2f6cf099167fa7d7c6aba8fc0421327e181a5a
sha: 8c4da285a3cb8b621b4a5cc251d6282b4b0a67a5
exclude_symlinks: true
- name: Verify symlink is excluded
if: "contains(steps.changed-files-symlink-excluded.outputs.added_files, 'test/symlink-to-target') || contains(steps.changed-files-symlink-excluded.outputs.all_changed_files, 'test/symlink-to-target')"
run: |
echo "Expected symlink to be excluded; got added=${{ steps.changed-files-symlink-excluded.outputs.added_files }} all=${{ steps.changed-files-symlink-excluded.outputs.all_changed_files }}"
exit 1
shell:
bash
- name: Show output
run: |
echo '${{ toJSON(steps.changed-files-symlink-included.outputs) }}'
echo '${{ toJSON(steps.changed-files-symlink-excluded.outputs) }}'
shell:
bash
test-using-branch-names-for-base-sha-and-sha-inputs:
name: Test using branch names for base_sha and sha inputs
runs-on: ubuntu-latest
@@ -300,13 +396,13 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -339,13 +435,13 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -373,12 +469,12 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -407,14 +503,14 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: ${{ matrix.fetch-depth }}
persist-credentials: false
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -437,10 +533,10 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -492,10 +588,10 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -547,7 +643,7 @@ jobs:
pull-requests: read
steps:
- name: Checkout into dir1
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
@@ -555,7 +651,7 @@ jobs:
path: dir1
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
path: dir1/dist
@@ -579,14 +675,14 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
fetch-depth: 0
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
path: dist
@@ -616,7 +712,7 @@ jobs:
contents: read
steps:
- name: Checkout into dir1
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
submodules: true
@@ -624,7 +720,7 @@ jobs:
path: dir1
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
path: dir1/dist
@@ -655,14 +751,14 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -721,14 +817,14 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -816,14 +912,14 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -1002,7 +1098,7 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: a52f8621d26d5d9f54b80f74bda2d9eedff94693
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1040,7 +1136,7 @@ jobs:
contents: read
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1119,7 +1215,7 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -1127,7 +1223,7 @@ jobs:
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
@@ -1172,13 +1268,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: true
repository: ${{ github.event.pull_request.head.repo.full_name }}
fetch-depth: ${{ matrix.fetch-depth }}
- name: Download build assets
uses: actions/download-artifact@v4
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
with:
name: build-assets
- name: Dump GitHub context
@@ -2163,9 +2259,9 @@ jobs:
bash
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v8
uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5 # v9.0.2
if: github.event_name == 'pull_request' && matrix.fetch-depth == 0
- uses: nrwl/nx-set-shas@v4
- uses: nrwl/nx-set-shas@3e9ad7370203c1e93d109be57f3b72eb0eb511b1 # v4.4.0
id: last_successful_commit
if: github.event_name == 'pull_request' && github.event.action != 'closed' && matrix.fetch-depth == 0
with:

View File

@@ -1,7 +1,7 @@
name: Format README.md
permissions:
contents: read
contents: write
pull-requests: write
on:
@@ -13,21 +13,21 @@ jobs:
sync-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Run auto-doc
uses: tj-actions/auto-doc@v3
uses: tj-actions/auto-doc@b10ceedffd794ec29a8fa8700529f40c1b64a951 # v3.6.0
with:
use_code_blocks: true
use_major_version: true
use_tag_commit_hash: true
- name: Run remark
uses: tj-actions/remark@v3
uses: tj-actions/remark@10fc40701928cbafcc4a2d241679579d218144ff # v3
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v20
uses: tj-actions/verify-changed-files@a1c6acee9df209257a246f2cc6ae8cb6581c1edf # v20.0.4
id: verify_changed_files
with:
files: |
@@ -41,7 +41,7 @@ jobs:
- name: Create Pull Request
if: failure()
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
base: "main"
labels: "merge when passing"
@@ -49,4 +49,5 @@ jobs:
branch: "chore/update-readme"
commit-message: "Updated README.md"
body: "Updated README.md"
token: ${{ secrets.PAT_TOKEN }}
sign-commits: true
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -13,7 +13,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Get changed files
id: changed-files
@@ -29,7 +29,7 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Get changed files
id: changed-files

2
.nvmrc
View File

@@ -1 +1 @@
20
24

2076
HISTORY.md

File diff suppressed because it is too large Load Diff

104
README.md
View File

@@ -3,13 +3,13 @@
[![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\&logo=windows\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Public workflows that use this action.](https://img.shields.io/endpoint?style=for-the-badge\&url=https%3A%2F%2Fused-by.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3Dtj-actions%2Fchanged-files%26package_id%3DUGFja2FnZS0yOTQyNTU4MDk5%26badge%3Dtrue)](https://github.com/search?o=desc\&q=tj-actions+changed-files+language%3AYAML\&s=\&type=Code)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4fe2f49c3ab144b0bbe4effc85a061a0)](https://app.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d59579c4b70e453a93cd2147b5d57384)](https://app.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=gh\&utm_medium=referral\&utm_content=\&utm_campaign=Badge_grade)
[![CI](https://github.com/tj-actions/changed-files/actions/workflows/test.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/test.yml)
[![Update release version.](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-27-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 -->
@@ -45,6 +45,7 @@ Effortlessly track all changed files and directories relative to a target branch
* [Credits 👏](#credits-)
* [Report Bugs 🐛](#report-bugs-)
* [Contributors ✨](#contributors-)
* [💼 Automate Your Job Search Too](#-automate-your-job-search-too)
## Features 🚀
@@ -71,7 +72,7 @@ Effortlessly track all changed files and directories relative to a target branch
* Between the last remote branch commit and the current HEAD.
* Restricts change detection to a subset of files and directories:
* 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 brace expansion.
* Supports negation.
@@ -122,7 +123,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
# with:
# since_last_remote_commit: true
@@ -140,7 +141,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get all changed markdown files
id: changed-markdown-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
# Avoid using single or double quotes for multiline patterns
files: |
@@ -161,7 +162,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get all test, doc and src files that have changed
id: changed-files-yaml
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files_yaml: |
doc:
@@ -196,7 +197,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files: docs/*.{js,html} # Alternatively using: `docs/**`
files_ignore: docs/static.js
@@ -238,7 +239,7 @@ jobs:
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
- name: List all changed files
env:
@@ -281,7 +282,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
- name: List all changed files
@@ -328,7 +329,7 @@ Support this project with a :star:
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
```yaml
- uses: tj-actions/changed-files@v45
- uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
id: changed-files
with:
# Github API URL.
@@ -411,6 +412,11 @@ Support this project with a :star:
# Default: "false"
exclude_submodules: ''
# Exclude symlinks from changed files.
# Type: boolean
# Default: "false"
exclude_symlinks: ''
# Fail when the initial diff
# fails.
# Type: boolean
@@ -675,6 +681,12 @@ Support this project with a :star:
# Default: "false"
skip_initial_fetch: ''
# Do not fail when base
# and head SHAs are identical.
# Type: boolean
# Default: "false"
skip_same_sha: ''
# Tags pattern to ignore.
# Type: string
tags_ignore_pattern: ''
@@ -761,6 +773,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_old_new_renamed_files"></a>[all\_old\_new\_renamed\_files](#output_all_old_new_renamed_files) | string | Returns only files that are <br>Renamed and lists their old <br>and new names. **NOTE:** This <br>requires setting `include_all_old_new_renamed_files` to `true`. <br>Also, keep in mind that <br>this output is global and <br>wouldn't be nested in outputs <br>generated when the `*_yaml_*` input <br>is used. (R) |
| <a name="output_all_old_new_renamed_files_count"></a>[all\_old\_new\_renamed\_files\_count](#output_all_old_new_renamed_files_count) | string | Returns the number of `all_old_new_renamed_files` |
| <a name="output_any_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_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)*. |
@@ -813,7 +826,7 @@ The format of the version string is as follows:
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
...
```
@@ -826,7 +839,7 @@ The format of the version string is as follows:
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
@@ -849,7 +862,7 @@ The format of the version string is as follows:
...
- name: Get all changed files and use a comma separator in the output
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
separator: ","
...
@@ -866,7 +879,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
- name: List all added files
env:
@@ -889,7 +902,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
- name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
@@ -910,7 +923,7 @@ See [outputs](#outputs) for a list of all available outputs.
- name: Get changed files and write the outputs to a Txt file
id: changed-files-write-output-files-txt
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
write_output_files: true
@@ -929,7 +942,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files and write the outputs to a JSON file
id: changed-files-write-output-files-json
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
json: true
write_output_files: true
@@ -949,7 +962,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files: |
my-file.txt
@@ -972,7 +985,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files-specific
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files: |
my-file.txt
@@ -1023,7 +1036,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files_from_source_file: test/changed-files-list.txt
...
@@ -1040,7 +1053,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -1061,7 +1074,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different SHA
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
sha: ${{ github.event.pull_request.head.sha }}
...
@@ -1078,7 +1091,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different base SHA
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
base_sha: ${{ github.event.pull_request.base.sha }}
...
@@ -1110,7 +1123,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
- name: List changed files
env:
@@ -1120,7 +1133,7 @@ jobs:
- name: Get changed files in the .github folder
id: changed-files-specific
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files: .github/**
@@ -1151,7 +1164,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with defaults in dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
path: dir1
@@ -1176,13 +1189,13 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
quotepath: "false"
- name: Run changed-files with quotepath disabled for a specified list of file(s)
id: changed-files-quotepath-specific
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
files: test/test-è.txt
quotepath: "false"
@@ -1215,7 +1228,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
...
@@ -1242,7 +1255,7 @@ See [inputs](#inputs) for more information.
- name: Run changed-files with the commit of the last successful test workflow run on the main branch
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
...
@@ -1268,7 +1281,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
dir_names: "true"
...
@@ -1285,7 +1298,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with JSON output
id: changed-files-json
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
json: "true"
...
@@ -1302,13 +1315,13 @@ See [inputs](#inputs) for more information.
...
- name: Get changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
since: "2022-08-19"
- name: Get changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
with:
until: "2022-08-20"
...
@@ -1326,14 +1339,10 @@ See [inputs](#inputs) for more information.
* [qgis/QGIS: uses tj-actions/changed-files to automate spell checking](https://github.com/qgis/QGIS/blob/a5333497e90ac9de4ca70463d8e0b64c3f294d63/.github/workflows/code_layout.yml#L147)
* [coder/code-server: uses tj-actions/changed-files to automate detecting changes and run steps based on the outcome](https://github.com/coder/code-server/blob/c32a31d802f679846876b8ad9aacff6cf7b5361d/.github/workflows/build.yaml#L48)
* [tldr-pages/tldr: uses tj-actions/changed-files to automate detecting spelling errors](https://github.com/tldr-pages/tldr/blob/c1b714c55cb0048037b79a681a10d7f3ddb0164c/.github/workflows/codespell.yml#L18-L26)
* [nodejs/docker-node: uses tj-actions/changed-files to generate matrix jobs based on changes detected](https://github.com/nodejs/docker-node/blob/3c4fa6daf06a4786d202f2f610351837806a0380/.github/workflows/build-test.yml#L29)
* [refined-github: uses tj-actions/changed-files to automate test URL validation in added/edited files](https://github.com/refined-github/refined-github/blob/b754bfe58904da8a599d7876fdaaf18302785629/.github/workflows/features.yml#L35)
* [aws-doc-sdk-examples: uses tj-actions/changed-files to automate testing](https://github.com/awsdocs/aws-doc-sdk-examples/blob/2393723ef6b0cad9502f4852f5c72f7be58ca89d/.github/workflows/javascript.yml#L22)
* [nhost: uses tj-actions/changed-files to automate testing based on changes detected](https://github.com/nhost/nhost/blob/71a8ce444618a8ac4d660518172fba4883c4014b/.github/workflows/ci.yaml#L44-L48)
@@ -1446,6 +1455,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://keisukeyamashita.com"><img src="https://avatars.githubusercontent.com/u/23056537?v=4?s=100" width="100px;" alt="KeisukeYamashita"/><br /><sub><b>KeisukeYamashita</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=KeisukeYamashita" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/codesculpture"><img src="https://avatars.githubusercontent.com/u/63452117?v=4?s=100" width="100px;" alt="Aravind"/><br /><sub><b>Aravind</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=codesculpture" title="Code">💻</a> <a href="https://github.com/tj-actions/changed-files/issues?q=author%3Acodesculpture" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://lukaspfahler.de"><img src="https://avatars.githubusercontent.com/u/2308119?v=4?s=100" width="100px;" alt="Lukas Pfahler"/><br /><sub><b>Lukas Pfahler</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=Whadup" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RajendraP"><img src="https://avatars.githubusercontent.com/u/8928165?v=4?s=100" width="100px;" alt="Rajendra Pandey"/><br /><sub><b>Rajendra Pandey</b></sub></a><br /><a href="https://github.com/tj-actions/changed-files/commits?author=RajendraP" title="Documentation">📖</a></td>
</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://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>
</tbody>
</table>
@@ -1457,3 +1471,17 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
***
## 💼 Automate Your Job Search Too
You automate your CI/CD. Automate your job applications too.
**[ApplySmart AI](https://applysmart.ai)** helps you:
* Generate tailored resumes & cover letters in seconds
* Extract job details from any posting automatically
* Track applications like you track deployments
**Free tier available** → [applysmart.ai](https://applysmart.ai)

View File

@@ -227,6 +227,14 @@ inputs:
description: "Exclude changes to submodules."
required: false
default: "false"
exclude_symlinks:
description: "Exclude symlinks from changed files."
required: false
default: "false"
skip_same_sha:
description: "Do not fail when base and head SHAs are identical."
required: false
default: "false"
fetch_missing_history_max_retries:
description: "Maximum number of retries to fetch missing history."
required: false
@@ -250,6 +258,8 @@ outputs:
description: "Returns only files that are Added (A)."
added_files_count:
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:
description: "Returns only files that are Copied (C)."
copied_files_count:
@@ -324,7 +334,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)"
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
branding:

47240
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

98
dist/licenses.txt generated vendored
View File

@@ -71,28 +71,6 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@fastify/busboy
MIT
Copyright Brian White. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
@octokit/auth-token
MIT
The MIT License
@@ -5744,24 +5722,32 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
deprecation
ISC
The ISC License
fast-content-type-parse
MIT
MIT License
Copyright (c) Gregor Martynus and contributors
Copyright (c) 2023 The Fastify Team
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
The Fastify team members are listed at https://github.com/fastify/fastify#team
and in the README file.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
fill-range
MIT
@@ -5889,25 +5875,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
once
ISC
The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
picomatch
MIT
The MIT License (MIT)
@@ -6012,32 +5979,13 @@ universal-user-agent
ISC
# [ISC License](https://spdx.org/licenses/ISC)
Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m)
Copyright (c) 2018-2021, Gregor Martynus (https://github.com/gr2m)
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
wrappy
ISC
The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
yaml
ISC
Copyright Eemeli Aro <eemeli@gmail.com>

3
dist/package.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"type": "module"
}

1
dist/sourcemap-register.cjs generated vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,13 @@
module.exports = {
clearMocks: true,
extensionsToTreatAsEsm: ['.ts'],
moduleFileExtensions: ['js', 'ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1'
},
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
'^.+\\.ts$': ['ts-jest', {useESM: true}]
},
verbose: true,
testTimeout: 10000,

View File

@@ -2,6 +2,7 @@
"name": "@tj-actions/changed-files",
"version": "45.0.8",
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
"type": "module",
"main": "lib/main.js",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
@@ -13,8 +14,8 @@
"lint": "eslint src/*.ts src/**/*.ts --max-warnings 0",
"lint:fix": "eslint --fix src/*.ts src/**/*.ts",
"package": "ncc build lib/main.js --source-map --license licenses.txt",
"test": "jest --coverage",
"update-snapshot": "jest -u",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
"update-snapshot": "NODE_OPTIONS='--experimental-vm-modules' jest -u",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
},
"repository": {
@@ -33,30 +34,30 @@
},
"homepage": "https://github.com/tj-actions/changed-files#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@octokit/rest": "^21.0.0",
"@actions/core": "^3.0.0",
"@actions/exec": "^3.0.0",
"@actions/github": "^9.0.0",
"@octokit/rest": "^22.0.0",
"@stdlib/utils-convert-path": "^0.2.1",
"lodash": "^4.17.21",
"micromatch": "^4.0.5",
"yaml": "^2.3.1"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.14.195",
"@types/micromatch": "^4.0.2",
"@types/node": "^22.0.0",
"@types/uuid": "^10.0.0",
"@types/node": "^25.0.0",
"@types/uuid": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^10.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",
"jest": "^29.5.0",
"jest": "^30.0.3",
"prettier": "^3.0.0",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3"

View File

@@ -1,35 +0,0 @@
{
"extends": ["config:recommended"],
"enabled": true,
"prHourlyLimit": 10,
"prConcurrentLimit": 5,
"rebaseWhen": "behind-base-branch",
"addLabels": ["dependencies", "merge when passing"],
"assignees": ["jackton1"],
"assignAutomerge": true,
"dependencyDashboard": true,
"dependencyDashboardAutoclose": true,
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"nvm": {
"enabled": false
},
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true,
"rebaseWhen": "behind-base-branch",
"addLabels": ["merge when passing"]
},
{
"description": "docker images",
"matchCategories": ["docker"],
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"rebaseWhen": "behind-base-branch",
"addLabels": ["merge when passing"],
"automerge": true
}
]
}

View File

@@ -1,20 +1,21 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`getInputs should correctly parse boolean inputs 1`] = `
{
"apiUrl": "",
"baseSha": "",
"diffRelative": "false",
"dirNames": "false",
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": "false",
"dirNamesExcludeCurrentDir": "false",
"diffRelative": false,
"dirNames": false,
"dirNamesDeletedFilesIncludeOnlyDeletedDirs": false,
"dirNamesExcludeCurrentDir": false,
"dirNamesIncludeFiles": "",
"dirNamesIncludeFilesSeparator": "",
"escapeJson": false,
"excludeSubmodules": "false",
"failOnInitialDiffError": "false",
"failOnSubmoduleDiffError": "false",
"fetchAdditionalSubmoduleHistory": "false",
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
"fetchMissingHistoryMaxRetries": 20,
"files": "",
"filesFromSourceFile": "",
@@ -30,16 +31,16 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
"filesYaml": "",
"filesYamlFromSourceFile": "",
"filesYamlFromSourceFileSeparator": "",
"includeAllOldNewRenamedFiles": "false",
"includeAllOldNewRenamedFiles": false,
"json": true,
"negationPatternsFirst": "false",
"negationPatternsFirst": false,
"oldNewFilesSeparator": " ",
"oldNewSeparator": ",",
"outputDir": "",
"outputRenamedFilesAsDeletedAndAdded": "false",
"outputRenamedFilesAsDeletedAndAdded": false,
"path": ".",
"quotepath": "false",
"recoverDeletedFiles": "false",
"quotepath": false,
"recoverDeletedFiles": false,
"recoverDeletedFilesToDestination": "",
"recoverFiles": "",
"recoverFilesIgnore": "",
@@ -47,19 +48,20 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
",
"recoverFilesSeparator": "
",
"safeOutput": "false",
"safeOutput": false,
"separator": "",
"sha": "",
"since": "",
"sinceLastRemoteCommit": "false",
"skipInitialFetch": "true",
"sinceLastRemoteCommit": false,
"skipInitialFetch": true,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "*",
"token": "",
"until": "",
"usePosixPathSeparator": "false",
"useRestApi": "false",
"writeOutputFiles": "false",
"usePosixPathSeparator": false,
"useRestApi": false,
"writeOutputFiles": false,
}
`;
@@ -76,6 +78,7 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
"dirNamesMaxDepth": 2,
"escapeJson": false,
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
@@ -115,6 +118,7 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
@@ -137,6 +141,7 @@ exports[`getInputs should correctly parse string inputs 1`] = `
"dirNamesIncludeFilesSeparator": "",
"escapeJson": false,
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
@@ -175,6 +180,7 @@ exports[`getInputs should correctly parse string inputs 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "token",
@@ -198,6 +204,7 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
"dirNamesMaxDepth": 2,
"escapeJson": false,
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
@@ -237,6 +244,7 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
@@ -260,6 +268,7 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
"dirNamesMaxDepth": -2,
"escapeJson": false,
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
@@ -299,6 +308,7 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
@@ -321,6 +331,7 @@ exports[`getInputs should return default values when no inputs are provided 1`]
"dirNamesIncludeFilesSeparator": "",
"escapeJson": false,
"excludeSubmodules": false,
"excludeSymlinks": false,
"failOnInitialDiffError": false,
"failOnSubmoduleDiffError": false,
"fetchAdditionalSubmoduleHistory": false,
@@ -362,6 +373,7 @@ exports[`getInputs should return default values when no inputs are provided 1`]
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"skipSameSha": false,
"tagsIgnorePattern": "",
"tagsPattern": "*",
"token": "",

View File

@@ -1,8 +1,14 @@
import * as core from '@actions/core'
import {getInputs, Inputs} from '../inputs'
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from '../constant'
import {jest} from '@jest/globals'
import type {Inputs} from '../inputs.js'
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from '../constant.js'
jest.mock('@actions/core')
jest.unstable_mockModule('@actions/core', () => ({
getInput: jest.fn(),
getBooleanInput: jest.fn()
}))
const {getInputs} = await import('../inputs.js')
const core = await import('@actions/core')
describe('getInputs', () => {
afterEach(() => {
@@ -10,17 +16,17 @@ describe('getInputs', () => {
})
test('should return default values when no inputs are provided', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
'') as string
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
@@ -30,30 +36,30 @@ describe('getInputs', () => {
})
test('should correctly parse boolean inputs', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
'') as string
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
switch (name) {
case 'matrix':
return 'true'
return true
case 'skip_initial_fetch':
return 'true'
return true
default:
return 'false'
return false
}
})
expect(getInputs()).toMatchSnapshot()
})
test('should handle matrix alias correctly', () => {
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
return name === 'matrix' ? 'true' : 'false'
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
return name === 'matrix'
})
const inputs = getInputs()
@@ -62,7 +68,7 @@ describe('getInputs', () => {
})
test('should correctly parse string inputs', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
;jest.mocked(core.getInput).mockImplementation((name: string) => {
switch (name) {
case 'token':
return 'token'
@@ -72,9 +78,9 @@ describe('getInputs', () => {
return ''
}
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
@@ -84,7 +90,7 @@ describe('getInputs', () => {
})
test('should correctly parse numeric inputs', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
;jest.mocked(core.getInput).mockImplementation((name: string) => {
switch (name) {
case 'fetch_depth':
return '5'
@@ -94,9 +100,9 @@ describe('getInputs', () => {
return ''
}
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
@@ -106,7 +112,7 @@ describe('getInputs', () => {
})
test('should handle invalid numeric inputs correctly', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
;jest.mocked(core.getInput).mockImplementation((name: string) => {
// TODO: Add validation for invalid numbers which should result in an error instead of NaN
switch (name) {
case 'fetch_depth':
@@ -117,9 +123,9 @@ describe('getInputs', () => {
return ''
}
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||
@@ -129,7 +135,7 @@ describe('getInputs', () => {
})
test('should handle negative numeric inputs correctly', () => {
;(core.getInput as jest.Mock).mockImplementation(name => {
;jest.mocked(core.getInput).mockImplementation((name: string) => {
// TODO: Add validation for negative numbers which should result in an error
switch (name) {
case 'fetch_depth':
@@ -140,9 +146,9 @@ describe('getInputs', () => {
return ''
}
})
;(core.getBooleanInput as jest.Mock).mockImplementation(name => {
const camelCaseName = name.replace(/_([a-z])/g, (g: string[]) => {
return g[1].toUpperCase()
;jest.mocked(core.getBooleanInput).mockImplementation((name: string) => {
const camelCaseName = name.replace(/_([a-z])/g, (_: string, g: string) => {
return g.toUpperCase()
}) as keyof Inputs
return (DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS[camelCaseName] ||

View File

@@ -1,15 +1,27 @@
import * as core from '@actions/core'
import * as exec from '@actions/exec'
import {ChangeTypeEnum} from '../changedFiles'
import {Inputs} from '../inputs'
import {
import {jest} from '@jest/globals'
import type {Inputs} from '../inputs.js'
jest.unstable_mockModule('@actions/core', () => ({
warning: jest.fn(),
isDebug: jest.fn()
}))
jest.unstable_mockModule('@actions/exec', () => ({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
getExecOutput: (jest.fn() as jest.Mock<any>).mockResolvedValue({stdout: '', stderr: '', exitCode: 0})
}))
const core = await import('@actions/core')
const exec = await import('@actions/exec')
const {ChangeTypeEnum} = await import('../changedFiles.js')
const {
getDirname,
getDirnameMaxDepth,
getFilteredChangedFiles,
getPreviousGitTag,
normalizeSeparators,
warnUnsupportedRESTAPIInputs
} from '../utils'
} = await import('../utils.js')
const originalPlatform = process.platform
@@ -639,13 +651,15 @@ describe('utils test', () => {
negationPatternsFirst: false,
useRestApi: false,
excludeSubmodules: false,
excludeSymlinks: false,
skipSameSha: false,
fetchMissingHistoryMaxRetries: 20,
usePosixPathSeparator: false,
tagsPattern: '*',
tagsIgnorePattern: ''
}
const coreWarningSpy = jest.spyOn(core, 'warning')
const coreWarningSpy = jest.mocked(core.warning)
await warnUnsupportedRESTAPIInputs({
inputs
@@ -712,7 +726,7 @@ describe('utils test', () => {
// No tags are available in the repository
it('should return empty values when no tags are available in the repository', async () => {
jest.spyOn(exec, 'getExecOutput').mockResolvedValueOnce({
jest.mocked(exec.getExecOutput).mockResolvedValueOnce({
stdout: '',
stderr: '',
exitCode: 0
@@ -728,7 +742,7 @@ describe('utils test', () => {
// Only one tag is available, making it impossible to find a previous tag
it('should return empty values when only one tag is available', async () => {
jest.spyOn(exec, 'getExecOutput').mockResolvedValueOnce({
jest.mocked(exec.getExecOutput).mockResolvedValueOnce({
stdout:
'v1.0.1|f0751de6af436d4e79016e2041cf6400e0833653|2021-01-01T00:00:00Z',
stderr: '',
@@ -746,7 +760,7 @@ describe('utils test', () => {
// Git commands fail and throw errors
it('should throw an error when git commands fail', async () => {
jest
.spyOn(exec, 'getExecOutput')
.mocked(exec.getExecOutput)
.mockRejectedValue(new Error('git command failed'))
await expect(
getPreviousGitTag({

View File

@@ -1,13 +1,14 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import type {RestEndpointMethodTypes} from '@octokit/rest'
import flatten from 'lodash/flatten'
import lodash from 'lodash'
const {flatten} = lodash
import convertPath from '@stdlib/utils-convert-path'
import mm from 'micromatch'
import * as path from 'path'
import {setOutputsAndGetModifiedAndChangedFilesStatus} from './changedFilesOutput'
import {DiffResult} from './commitSha'
import {Inputs} from './inputs'
import {setOutputsAndGetModifiedAndChangedFilesStatus} from './changedFilesOutput.js'
import {DiffResult} from './commitSha.js'
import {Inputs} from './inputs.js'
import {
canDiffCommits,
getAllChangedFiles,
@@ -16,10 +17,12 @@ import {
getFilteredChangedFiles,
gitRenamedFiles,
gitSubmoduleDiffSHA,
isSymlinkInGitTree,
isSymlinkOnDisk,
isWindows,
jsonOutput,
setArrayOutput
} from './utils'
} from './utils.js'
export const processChangedFiles = async ({
filePatterns,
@@ -89,21 +92,17 @@ export const processChangedFiles = async ({
core.endGroup()
}
if (modifiedKeys.length > 0) {
await setArrayOutput({
key: 'modified_keys',
inputs,
value: modifiedKeys
})
}
await setArrayOutput({
key: 'modified_keys',
inputs,
value: modifiedKeys
})
if (changedKeys.length > 0) {
await setArrayOutput({
key: 'changed_keys',
inputs,
value: changedKeys
})
}
await setArrayOutput({
key: 'changed_keys',
inputs,
value: changedKeys
})
}
if (filePatterns.length === 0 && Object.keys(yamlFilePatterns).length === 0) {
@@ -224,7 +223,8 @@ export const getAllDiffFiles = async ({
outputRenamedFilesAsDeletedAndAdded,
fetchAdditionalSubmoduleHistory,
failOnInitialDiffError,
failOnSubmoduleDiffError
failOnSubmoduleDiffError,
submoduleShas
}: {
workingDirectory: string
diffSubmodule: boolean
@@ -234,6 +234,7 @@ export const getAllDiffFiles = async ({
fetchAdditionalSubmoduleHistory: boolean
failOnInitialDiffError: boolean
failOnSubmoduleDiffError: boolean
submoduleShas?: Record<string, {previousSha?: string; currentSha?: string}>
}): Promise<ChangedFiles> => {
const files = await getAllChangedFiles({
cwd: workingDirectory,
@@ -260,6 +261,9 @@ export const getAllDiffFiles = async ({
)
if (submoduleShaResult.currentSha && submoduleShaResult.previousSha) {
if (submoduleShas) {
submoduleShas[submodulePath] = submoduleShaResult
}
let diff = '...'
if (
@@ -304,6 +308,139 @@ export const getAllDiffFiles = async ({
return files
}
export const filterSymlinksFromChangedFiles = async ({
changedFiles,
workingDirectory,
diffResult,
submodulePaths,
submoduleShas
}: {
changedFiles: ChangedFiles
workingDirectory: string
diffResult: DiffResult
submodulePaths: string[]
submoduleShas?: Record<string, {previousSha?: string; currentSha?: string}>
}): Promise<ChangedFiles> => {
const filtered: ChangedFiles = {
[ChangeTypeEnum.Added]: [],
[ChangeTypeEnum.Copied]: [],
[ChangeTypeEnum.Deleted]: [],
[ChangeTypeEnum.Modified]: [],
[ChangeTypeEnum.Renamed]: [],
[ChangeTypeEnum.TypeChanged]: [],
[ChangeTypeEnum.Unmerged]: [],
[ChangeTypeEnum.Unknown]: []
}
const cache = new Map<string, boolean>()
const diskCache = new Map<string, boolean>()
const getSubmoduleContext = (
filePath: string
): {
cwd: string
relativePath: string
currentSha: string
previousSha: string
isSubmoduleRoot: boolean
} => {
const submodulePath = submodulePaths.find(p =>
filePath.startsWith(`${p}${path.sep}`)
)
if (!submodulePath) {
return {
cwd: workingDirectory,
relativePath: filePath,
currentSha: diffResult.currentSha,
previousSha: diffResult.previousSha,
isSubmoduleRoot: false
}
}
if (filePath === submodulePath) {
return {
cwd: workingDirectory,
relativePath: filePath,
currentSha: diffResult.currentSha,
previousSha: diffResult.previousSha,
isSubmoduleRoot: true
}
}
const submoduleWorkingDirectory = path.join(workingDirectory, submodulePath)
const relativePath = filePath.substring(submodulePath.length + 1)
const submoduleSha = submoduleShas?.[submodulePath]
return {
cwd: submoduleWorkingDirectory,
relativePath,
currentSha: submoduleSha?.currentSha || diffResult.currentSha,
previousSha: submoduleSha?.previousSha || diffResult.previousSha,
isSubmoduleRoot: false
}
}
const isSymlinkCached = async ({
cwd,
filePath,
sha,
preferDisk
}: {
cwd: string
filePath: string
sha: string
preferDisk: boolean
}): Promise<boolean> => {
if (preferDisk) {
const diskKey = `${cwd}|disk|${filePath}`
const cachedDisk = diskCache.get(diskKey)
if (cachedDisk !== undefined) {
return cachedDisk
}
const diskResult = await isSymlinkOnDisk({cwd, filePath})
diskCache.set(diskKey, diskResult)
if (diskResult) {
return true
}
}
const treeKey = `${cwd}|${sha}|${filePath}`
const cachedTree = cache.get(treeKey)
if (cachedTree !== undefined) {
return cachedTree
}
const treeResult = await isSymlinkInGitTree({cwd, sha, filePath})
cache.set(treeKey, treeResult)
return treeResult
}
for (const changeType of Object.keys(changedFiles) as ChangeTypeEnum[]) {
const files = changedFiles[changeType] || []
for (const filePath of files) {
const context = getSubmoduleContext(filePath)
if (context.isSubmoduleRoot) {
filtered[changeType].push(filePath)
continue
}
const isDeleted = changeType === ChangeTypeEnum.Deleted
const sha = isDeleted ? context.previousSha : context.currentSha
const isSymlink = await isSymlinkCached({
cwd: context.cwd,
filePath: context.relativePath,
sha,
preferDisk: !isDeleted
})
if (!isSymlink) {
filtered[changeType].push(filePath)
}
}
}
return filtered
}
function* getFilePaths({
inputs,
filePaths,

View File

@@ -5,9 +5,9 @@ import {
ChangeTypeEnum,
getAllChangeTypeFiles,
getChangeTypeFiles
} from './changedFiles'
import {Inputs} from './inputs'
import {getOutputKey, setArrayOutput, setOutput, exists} from './utils'
} from './changedFiles.js'
import {Inputs} from './inputs.js'
import {getOutputKey, setArrayOutput, setOutput, exists} from './utils.js'
const getArrayFromPaths = (
paths: string | string[],
@@ -52,6 +52,13 @@ export const setOutputsAndGetModifiedAndChangedFilesStatus = async ({
writeOutputFiles: inputs.writeOutputFiles,
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({
inputs,

View File

@@ -1,8 +1,8 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import {Env} from './env'
import {Inputs} from './inputs'
import {Env} from './env.js'
import {Inputs} from './inputs.js'
import {
canDiffCommits,
cleanShaInput,
@@ -15,7 +15,7 @@ import {
gitFetchSubmodules,
gitLog,
verifyCommitSha
} from './utils'
} from './utils.js'
const getCurrentSHA = async ({
inputs,
@@ -84,6 +84,7 @@ export interface DiffResult {
targetBranch: string
diff: string
initialCommit?: boolean
sameSha?: boolean
}
interface SHAForNonPullRequestEvent {
@@ -198,6 +199,19 @@ export const getSHAForNonPullRequestEvent = async ({
if (inputs.baseSha && inputs.sha && currentBranch && targetBranch) {
if (previousSha === currentSha) {
if (inputs.skipSameSha) {
core.info(
`Skipping diff because previous sha ${previousSha} is equivalent to the current sha ${currentSha}.`
)
return {
previousSha,
currentSha,
currentBranch,
targetBranch,
diff,
sameSha: true
}
}
core.error(
`Similar commit hashes detected: previous sha: ${previousSha} is equivalent to the current sha: ${currentSha}.`
)
@@ -305,6 +319,19 @@ export const getSHAForNonPullRequestEvent = async ({
core.debug(`Current branch: ${currentBranch}`)
if (!initialCommit && previousSha === currentSha) {
if (inputs.skipSameSha) {
core.info(
`Skipping diff because previous sha ${previousSha} is equivalent to the current sha ${currentSha}.`
)
return {
previousSha,
currentSha,
currentBranch,
targetBranch,
diff,
sameSha: true
}
}
core.error(
`Similar commit hashes detected: previous sha: ${previousSha} is equivalent to the current sha: ${currentSha}.`
)
@@ -430,6 +457,19 @@ export const getSHAForPullRequestEvent = async ({
if (inputs.baseSha && inputs.sha && currentBranch && targetBranch) {
if (previousSha === currentSha) {
if (inputs.skipSameSha) {
core.info(
`Skipping diff because previous sha ${previousSha} is equivalent to the current sha ${currentSha}.`
)
return {
previousSha,
currentSha,
currentBranch,
targetBranch,
diff,
sameSha: true
}
}
core.error(
`Similar commit hashes detected: previous sha: ${previousSha} is equivalent to the current sha: ${currentSha}.`
)
@@ -561,7 +601,9 @@ export const getSHAForPullRequestEvent = async ({
core.info(
'Merge base is not in the local history, fetching remote target branch again...'
)
core.info(`Attempt ${i}/10`)
core.info(
`Attempt ${i}/${inputs.fetchMissingHistoryMaxRetries || 10}`
)
}
}
}
@@ -606,6 +648,19 @@ export const getSHAForPullRequestEvent = async ({
}
if (previousSha === currentSha) {
if (inputs.skipSameSha) {
core.info(
`Skipping diff because previous sha ${previousSha} is equivalent to the current sha ${currentSha}.`
)
return {
previousSha,
currentSha,
currentBranch,
targetBranch,
diff,
sameSha: true
}
}
core.error(
`Similar commit hashes detected: previous sha: ${previousSha} is equivalent to the current sha: ${currentSha}.`
)

View File

@@ -1,4 +1,4 @@
import {Inputs} from './inputs'
import {Inputs} from './inputs.js'
export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
sha: '',
@@ -22,6 +22,8 @@ export const DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS: Partial<Inputs> = {
fetchAdditionalSubmoduleHistory: false,
dirNamesDeletedFilesIncludeOnlyDeletedDirs: false,
excludeSubmodules: false,
excludeSymlinks: false,
skipSameSha: false,
fetchMissingHistoryMaxRetries: 20,
usePosixPathSeparator: false,
tagsPattern: '*',

View File

@@ -55,6 +55,8 @@ export type Inputs = {
negationPatternsFirst: boolean
useRestApi: boolean
excludeSubmodules: boolean
excludeSymlinks: boolean
skipSameSha: boolean
fetchMissingHistoryMaxRetries?: number
usePosixPathSeparator: boolean
tagsPattern: string
@@ -249,6 +251,14 @@ export const getInputs = (): Inputs => {
required: false
})
const excludeSymlinks = core.getBooleanInput('exclude_symlinks', {
required: false
})
const skipSameSha = core.getBooleanInput('skip_same_sha', {
required: false
})
const fetchMissingHistoryMaxRetries = core.getInput(
'fetch_missing_history_max_retries',
{required: false}
@@ -310,6 +320,8 @@ export const getInputs = (): Inputs => {
fetchAdditionalSubmoduleHistory,
dirNamesDeletedFilesIncludeOnlyDeletedDirs,
excludeSubmodules,
excludeSymlinks,
skipSameSha,
usePosixPathSeparator,
tagsPattern,
tagsIgnorePattern,

View File

@@ -5,16 +5,18 @@ import {
processChangedFiles,
ChangeTypeEnum,
getAllDiffFiles,
filterSymlinksFromChangedFiles,
getChangedFilesFromGithubAPI,
getRenamedFiles
} from './changedFiles'
getRenamedFiles,
ChangedFiles
} from './changedFiles.js'
import {
DiffResult,
getSHAForNonPullRequestEvent,
getSHAForPullRequestEvent
} from './commitSha'
import {Env, getEnv} from './env'
import {getInputs, Inputs} from './inputs'
} from './commitSha.js'
import {Env, getEnv} from './env.js'
import {getInputs, Inputs} from './inputs.js'
import {
getFilePatterns,
getRecoverFilePatterns,
@@ -28,7 +30,7 @@ import {
updateGitGlobalConfig,
verifyMinimumGitVersion,
warnUnsupportedRESTAPIInputs
} from './utils'
} from './utils.js'
const getChangedFilesFromLocalGitHistory = async ({
inputs,
@@ -127,11 +129,57 @@ const getChangedFilesFromLocalGitHistory = async ({
return
}
if (diffResult.sameSha) {
core.info('Base and head SHAs are identical; no changed files to report.')
const emptyChangedFiles: ChangedFiles = {
[ChangeTypeEnum.Added]: [],
[ChangeTypeEnum.Copied]: [],
[ChangeTypeEnum.Deleted]: [],
[ChangeTypeEnum.Modified]: [],
[ChangeTypeEnum.Renamed]: [],
[ChangeTypeEnum.TypeChanged]: [],
[ChangeTypeEnum.Unmerged]: [],
[ChangeTypeEnum.Unknown]: []
}
await processChangedFiles({
filePatterns,
allDiffFiles: emptyChangedFiles,
inputs,
yamlFilePatterns,
workingDirectory
})
if (inputs.includeAllOldNewRenamedFiles) {
await setOutput({
key: 'all_old_new_renamed_files',
value: inputs.json ? [] : '',
writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir,
json: inputs.json,
safeOutput: inputs.safeOutput
})
await setOutput({
key: 'all_old_new_renamed_files_count',
value: '0',
writeOutputFiles: inputs.writeOutputFiles,
outputDir: inputs.outputDir,
json: inputs.json
})
}
core.info('All Done!')
core.endGroup()
return
}
core.info(
`Retrieving changes between ${diffResult.previousSha} (${diffResult.targetBranch}) → ${diffResult.currentSha} (${diffResult.currentBranch})`
)
const allDiffFiles = await getAllDiffFiles({
const submoduleShas: Record<
string,
{previousSha?: string; currentSha?: string}
> = {}
let allDiffFiles = await getAllDiffFiles({
workingDirectory,
diffSubmodule,
diffResult,
@@ -139,8 +187,20 @@ const getChangedFilesFromLocalGitHistory = async ({
outputRenamedFilesAsDeletedAndAdded,
fetchAdditionalSubmoduleHistory: inputs.fetchAdditionalSubmoduleHistory,
failOnInitialDiffError: inputs.failOnInitialDiffError,
failOnSubmoduleDiffError: inputs.failOnSubmoduleDiffError
failOnSubmoduleDiffError: inputs.failOnSubmoduleDiffError,
submoduleShas
})
if (inputs.excludeSymlinks) {
core.info('Excluding symlinks from the diff')
allDiffFiles = await filterSymlinksFromChangedFiles({
changedFiles: allDiffFiles,
workingDirectory,
diffResult,
submodulePaths,
submoduleShas
})
}
core.debug(`All diff files: ${JSON.stringify(allDiffFiles)}`)
core.info('All Done!')
core.endGroup()

View File

@@ -3,15 +3,16 @@ import * as core from '@actions/core'
import * as exec from '@actions/exec'
import * as github from '@actions/github'
import {createReadStream, promises as fs} from 'fs'
import {flattenDeep, snakeCase} from 'lodash'
import lodash from 'lodash'
const {flattenDeep, snakeCase} = lodash
import mm from 'micromatch'
import * as path from 'path'
import {createInterface} from 'readline'
import {parseDocument} from 'yaml'
import {ChangedFiles, ChangeTypeEnum} from './changedFiles'
import {DiffResult} from './commitSha'
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from './constant'
import {Inputs} from './inputs'
import {ChangedFiles, ChangeTypeEnum} from './changedFiles.js'
import {DiffResult} from './commitSha.js'
import {DEFAULT_VALUES_OF_UNSUPPORTED_API_INPUTS} from './constant.js'
import {Inputs} from './inputs.js'
const MINIMUM_GIT_VERSION = '2.18.0'
@@ -152,6 +153,69 @@ export const exists = async (filePath: string): Promise<boolean> => {
}
}
/**
* Checks if a file is a symlink on disk
* @param cwd - working directory
* @param filePath - path to check
* @returns file is a symlink
*/
export const isSymlinkOnDisk = async ({
cwd,
filePath
}: {
cwd: string
filePath: string
}): Promise<boolean> => {
try {
const stat = await fs.lstat(path.join(cwd, filePath))
return stat.isSymbolicLink()
} catch {
return false
}
}
/**
* Checks if a file is a symlink in a git tree
* @param cwd - working directory
* @param sha - commit sha
* @param filePath - path to check
* @returns file is a symlink
*/
export const isSymlinkInGitTree = async ({
cwd,
sha,
filePath
}: {
cwd: string
sha: string
filePath: string
}): Promise<boolean> => {
if (!sha) {
return false
}
const {stdout, exitCode} = await exec.getExecOutput(
'git',
['ls-tree', '-r', sha, '--', filePath],
{
cwd,
ignoreReturnCode: true,
silent: !core.isDebug()
}
)
if (exitCode !== 0) {
return false
}
const line = stdout.split('\n').find(Boolean)
if (!line) {
return false
}
const [mode] = line.split(/\s+/)
return mode === '120000'
}
/**
* Generates lines of a file as an async iterable iterator
* @param filePath - path of file to read
@@ -819,14 +883,49 @@ export const cleanShaInput = async ({
if (exitCode !== 0) {
const octokit = github.getOctokit(token)
// If it's not a valid commit sha, assume it's a branch name and get the HEAD sha
const {data: refData} = await octokit.rest.git.getRef({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
ref: `heads/${sha}`
const owner = github.context.repo.owner
const repo = github.context.repo.repo
const isNotFoundError = (error: unknown): boolean =>
typeof error === 'object' &&
error !== null &&
'status' in error &&
(error as {status?: number}).status === 404
// If it's not a valid commit sha, assume it's a ref name first.
try {
const {data: refData} = await octokit.rest.git.getRef({
owner,
repo,
ref: `heads/${sha}`
})
return refData.object.sha
} catch (error) {
if (!isNotFoundError(error)) {
throw error
}
}
try {
const {data: refData} = await octokit.rest.git.getRef({
owner,
repo,
ref: `tags/${sha}`
})
return refData.object.sha
} catch (error) {
if (!isNotFoundError(error)) {
throw error
}
}
const {data: commitData} = await octokit.rest.git.getCommit({
owner,
repo,
commit_sha: sha
})
return refData.object.sha
return commitData.sha
}
return stdout.trim()

1
test/symlink-target.txt Normal file
View File

@@ -0,0 +1 @@
Symlink target fixture.

1
test/symlink-to-target Symbolic link
View File

@@ -0,0 +1 @@
symlink-target.txt

View File

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

View File

@@ -1,12 +1,14 @@
{
"compilerOptions": {
"target": "ES2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"target": "ES2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "NodeNext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"moduleResolution": "NodeNext", /* Module resolution strategy */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"isolatedModules": true, /* Ensure each file can be safely transpiled without relying on other imports. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
},
"exclude": ["node_modules", "jest/setEnvVars.cjs"]
"exclude": ["node_modules", "jest/setEnvVars.cjs", "src/__tests__"]
}

2791
yarn.lock

File diff suppressed because it is too large Load Diff