name: shellcheck on: pull_request: branches: ["*"] types: ["opened", "reopened", "synchronize"] jobs: shellcheck: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - run: apt update --yes && apt install --yes shellcheck - run: find . -type f -name "*.sh" -exec shellcheck -a {} \;