[release/v7.4] Simplify PR Template (#25407)

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
This commit is contained in:
PowerShell Team Bot
2025-04-21 15:08:57 -07:00
committed by GitHub
co-authored by Travis Plunk
parent b543ea699f
commit 4aebcdc493
5 changed files with 42 additions and 20 deletions
@@ -0,0 +1,8 @@
VALIDATE_ALL_CODEBASE=false
DEFAULT_BRANCH=master
FILTER_REGEX_INCLUDE=.*\.md
VALIDATE_EDITORCONFIG=false
VALIDATE_JSCPD=false
VALIDATE_CHECKOV=false
FIX_MARKDOWN_PRETTIER=true
FIX_MARKDOWN=true
+15
View File
@@ -0,0 +1,15 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
param(
[string]$RepoRoot = (Join-Path -Path $PSScriptRoot -ChildPath '../..'),
[string]$Platform
)
$resolvedPath = (Resolve-Path $RepoRoot).ProviderPath
$platformParam = @()
if ($Platform) {
$platformParam = @("--platform", $Platform)
}
docker run $platformParam -e RUN_LOCAL=true --env-file "$PSScriptRoot/config/super-linter.env" -v "${resolvedPath}:/tmp/lint" ghcr.io/super-linter/super-linter:latest