Skip to content

Merge pull request #356 from Automattic/dependabot/github_actions/pet… #866

Merge pull request #356 from Automattic/dependabot/github_actions/pet…

Merge pull request #356 from Automattic/dependabot/github_actions/pet… #866

Workflow file for this run

name: ShellCheck
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
shellcheck:
name: Lint with shellcheck
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Add error matcher
run: echo "::add-matcher::$(pwd)/.github/problem-matcher-gcc.json"
- name: Run shellcheck
run: shellcheck -o all -f gcc $(find . -path ./.git -prune -o -type f -executable -print)