This repository was archived by the owner on May 6, 2025. It is now read-only.
chore(deps): update scripts/linux-common/packer-virt-sysprep digest t… #1405
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: | |
github-context: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Debug | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: | | |
echo "${GITHUB_CONTEXT}" | |
mega-linter: | |
runs-on: ubuntu-latest | |
if: ${{ (!startsWith(github.ref_name, 'renovate/') && !startsWith(github.ref_name, 'release-please--')) || github.event_name == 'workflow_dispatch' }} | |
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 | |
readarray -d '' MD_FILES < <(find . -type f -name "*.md" -print0) | |
mdq '```/^bash$|^shell$|^sh$/' --br -o plain "${MD_FILES[@]}" >> README.sh || true | |
chmod a+x README.sh | |
- name: 💡 MegaLinter | |
uses: oxsecurity/megalinter@5a91fb06c83d0e69fbd23756d47438aa723b4a5a # v8.7.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 }} |