Skip to content

Merge pull request #702 from rokath/dependabot/github_actions/actions… #350

Merge pull request #702 from rokath/dependabot/github_actions/actions…

Merge pull request #702 from rokath/dependabot/github_actions/actions… #350

Workflow file for this run

# This workflow will scan all *.sh files and report problems in the PR checks.
# Runs on every push to main and PR targeting main.
# Can be run manually via Actions → “ShellCheck (Bash Linting)” → Run workflow.
name: "ShellCheck (Bash Linting)"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
shellcheck:
name: ShellCheck (Bash)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
# Install and run ShellCheck using a maintained GitHub Action.
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
with:
# Optional: you can configure which paths to scan. By default,
# the action will look for *.sh files in the repository.
# minimum severity to report: error, warning, info, style
severity: warning
# optional extras you *could* add:
# scandir: . # where to search for scripts (default ".")
# ignore_paths: "vendor" # space-separated paths to ignore
# ignore_names: "*.tmpl" # ignore by filename pattern
# version: stable # ShellCheck version (default: stable)