mega-linter-runner 9.1.1-beta202511192110.0 → 9.1.1-beta202511221326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generators/mega-linter/templates/mega-linter.yml +1 -1
- package/generators/mega-linter-custom-flavor/templates/check-new-megalinter-version.yml +1 -1
- package/generators/mega-linter-custom-flavor/templates/megalinter-custom-flavor-builder.yml +1 -1
- package/lib/upgrade.js +3 -17
- package/package.json +1 -1
package/lib/upgrade.js
CHANGED
|
@@ -223,20 +223,6 @@ jobs:
|
|
|
223
223
|
build:
|
|
224
224
|
`,
|
|
225
225
|
},
|
|
226
|
-
// V5 to V6 migration rules
|
|
227
|
-
// GitHub actions
|
|
228
|
-
{
|
|
229
|
-
regex: /actions\/checkout@v2/gm,
|
|
230
|
-
replacement: "actions/checkout@v3",
|
|
231
|
-
test: "uses: actions/checkout@v2",
|
|
232
|
-
testRes: "uses: actions/checkout@v3",
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
regex: /actions\/checkout@v3/gm,
|
|
236
|
-
replacement: "actions/checkout@v4",
|
|
237
|
-
test: "uses: actions/checkout@v3",
|
|
238
|
-
testRes: "uses: actions/checkout@v4",
|
|
239
|
-
},
|
|
240
226
|
// Documentation base URL
|
|
241
227
|
{
|
|
242
228
|
regex: /https:\/\/megalinter\.github\.io/gm,
|
|
@@ -497,10 +483,10 @@ jobs:
|
|
|
497
483
|
},
|
|
498
484
|
// v8 to v9 migrations rules
|
|
499
485
|
{
|
|
500
|
-
regex: /actions\/checkout@
|
|
501
|
-
replacement: "actions/checkout@
|
|
486
|
+
regex: /actions\/checkout@v(1|2|3|4|5)/gm,
|
|
487
|
+
replacement: "actions/checkout@v6",
|
|
502
488
|
test: "uses: actions/checkout@v4",
|
|
503
|
-
testRes: "uses: actions/checkout@
|
|
489
|
+
testRes: "uses: actions/checkout@v6",
|
|
504
490
|
},
|
|
505
491
|
// Upload artifact action
|
|
506
492
|
{
|