mega-linter-runner 8.8.1-beta202509132332.0 → 8.8.1-beta202509140927.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/lib/config.js +1 -1
- package/lib/upgrade.js +53 -0
- package/package.json +1 -1
package/lib/config.js
CHANGED
package/lib/upgrade.js
CHANGED
|
@@ -509,6 +509,59 @@ jobs:
|
|
|
509
509
|
test: "uses: actions/upload-artifact@v3",
|
|
510
510
|
testRes: "uses: actions/upload-artifact@v4",
|
|
511
511
|
},
|
|
512
|
+
// V8 to V9 migration rules
|
|
513
|
+
// Github actions flavors
|
|
514
|
+
{
|
|
515
|
+
regex: /oxsecurity\/megalinter\/flavors\/([a-z]*)@v8\.(.*)/gm,
|
|
516
|
+
replacement: `oxsecurity/megalinter/flavors/$1@${DEFAULT_RELEASE}`,
|
|
517
|
+
test: "oxsecurity/megalinter/flavors/python@v8.1.2",
|
|
518
|
+
testRes: `oxsecurity/megalinter/flavors/python@${DEFAULT_RELEASE}`,
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
regex: /oxsecurity\/megalinter\/flavors\/([a-z]*)@v8/gm,
|
|
522
|
+
replacement: `oxsecurity/megalinter/flavors/$1@${DEFAULT_RELEASE}`,
|
|
523
|
+
test: "oxsecurity/megalinter/flavors/python@v8",
|
|
524
|
+
testRes: `oxsecurity/megalinter/flavors/python@${DEFAULT_RELEASE}`,
|
|
525
|
+
},
|
|
526
|
+
// Docker image flavors
|
|
527
|
+
{
|
|
528
|
+
regex: /oxsecurity\/megalinter-([a-z]*):v8\.(.*)/gm,
|
|
529
|
+
replacement: `oxsecurity/megalinter-$1:${DEFAULT_RELEASE}`,
|
|
530
|
+
test: "oxsecurity/megalinter-python:v8.1.2",
|
|
531
|
+
testRes: `oxsecurity/megalinter-python:${DEFAULT_RELEASE}`,
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
regex: /oxsecurity\/megalinter-([a-z]*):v8/gm,
|
|
535
|
+
replacement: `oxsecurity/megalinter-$1:${DEFAULT_RELEASE}`,
|
|
536
|
+
test: "oxsecurity/megalinter-python:v8",
|
|
537
|
+
testRes: `oxsecurity/megalinter-python:${DEFAULT_RELEASE}`,
|
|
538
|
+
},
|
|
539
|
+
// Github actions using main flavor
|
|
540
|
+
{
|
|
541
|
+
regex: /oxsecurity\/megalinter@v8\.(.*)/gm,
|
|
542
|
+
replacement: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
|
|
543
|
+
test: "oxsecurity/megalinter@v8.2.4",
|
|
544
|
+
testRes: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
regex: /oxsecurity\/megalinter@v8/gm,
|
|
548
|
+
replacement: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
|
|
549
|
+
test: "oxsecurity/megalinter@v8",
|
|
550
|
+
testRes: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
|
|
551
|
+
},
|
|
552
|
+
// Docker images using main flavor
|
|
553
|
+
{
|
|
554
|
+
regex: /oxsecurity\/megalinter:v8\.(.*)/gm,
|
|
555
|
+
replacement: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
|
|
556
|
+
test: "oxsecurity/megalinter:v8.2.4",
|
|
557
|
+
testRes: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
regex: /oxsecurity\/megalinter:v8/gm,
|
|
561
|
+
replacement: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
|
|
562
|
+
test: "oxsecurity/megalinter:v8",
|
|
563
|
+
testRes: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
|
|
564
|
+
},
|
|
512
565
|
];
|
|
513
566
|
}
|
|
514
567
|
|