chore(deps): update dependency powershell/win32-openssh to v9.5.0.0p1… #570
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MegaLinter | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- main | |
permissions: read-all | |
jobs: | |
build: | |
name: MegaLinter | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
statuses: write | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Extract commands from markdown files | |
run: | | |
set -euxo pipefail | |
echo '#!/usr/bin/env bash' > README.sh | |
find . -name '*.md' -print0 | while IFS= read -r -d '' FILE ; do | |
sed -n "/^\`\`\`\(bash\|shell\).*/,/^\`\`\`$/p" "${FILE}" \ | |
| \ | |
sed \ | |
-e 's/^```\(bash\|shell\).*//' \ | |
-e '/^```$/d' \ | |
>> README.sh | |
done | |
chmod a+x README.sh | |
- name: MegaLinter | |
uses: megalinter/megalinter@v7.1.0 | |
env: | |
ANSIBLE_ANSIBLE_LINT_PRE_COMMANDS: >- | |
[{"command": "ansible-galaxy collection install -v -r ansible/requirements.yml"}] | |
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects | |
DISABLE_LINTERS: COPYPASTE_JSCPD,JSON_PRETTIER,MARKDOWN_MARKDOWN_LINK_CHECK,REPOSITORY_DEVSKIM,REPOSITORY_SEMGREP,SPELL_CSPELL,SPELL_PROSELINT,YAML_V8R | |
FILTER_REGEX_EXCLUDE: '(.*\.ps1|CHANGELOG.md)' | |
FORMATTERS_DISABLE_ERRORS: false | |
GITHUB_COMMENT_REPORTER: false | |
GITHUB_STATUS_REPORTER: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PRINT_ALPACA: false | |
REPOSITORY_KICS_ARGUMENTS: --exclude-paths .github/workflows/renovate.yml | |
# Needed for scanning generated README.sh file | |
VALIDATE_ALL_CODEBASE: true |