[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
+13 -4
View File
@@ -30,11 +30,20 @@ jobs:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: Load super-linter configuration
# Use grep inverse matching to exclude eventual comments in the .env file
# because the GitHub Actions command to set environment variables doesn't
# support comments.
# Ref: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
run: grep -v '^#' tools/super-linter/config/super-linter.env >> "$GITHUB_ENV"
- name: Lint Markdown
uses: super-linter/super-linter@a8150b40c89574adb5f68bf9502b890a236a06b3 # v5.7.2
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
FILTER_REGEX_INCLUDE: .*\.md
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_EDITORCONFIG: false
- name: Super-Linter correction instructions
if: failure()
uses: actions/github-script@v7.0.1
with:
script: |
const message = "Super-Linter found issues in the changed files. Please check the logs for details. You can run the linter locally using the command: `./tools/super-lister/super-lister.ps1`.";
core.setFailed(message);