fix: correct syntax in shell commands for EC2 and volume removal scripts #3207
Workflow file for this run
This file contains hidden or 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: mega-linter | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- main | |
permissions: read-all | |
jobs: | |
mega-linter: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Extract commands from markdown files | |
run: | | |
set -euxo pipefail | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
brew install mdq | |
echo '#!/usr/bin/env bash' > README.sh | |
find . -type f -name "*.md" -print0 | xargs -r0 mdq '```/^bash$|^shell$|^sh$/' --br -o plain >> README.md | |
chmod a+x README.sh | |
- name: 💡 MegaLinter | |
uses: oxsecurity/megalinter@146333030da68e2e58c6ff826633824fabe01eaf # v8.5.0 | |
env: | |
GITHUB_COMMENT_REPORTER: false | |
# Disabled due to error: [GitHub Status Reporter] Error posting Status for REPOSITORY with ...: 403 | |
GITHUB_STATUS_REPORTER: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |