mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
[release/v7.5] Simplify PR Template (#25333)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com> Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
This commit is contained in:
co-authored by
Travis Plunk
Dongbo Wang
parent
dc5461e90e
commit
e671bffe56
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user