Skip to content

Merge pull request #110 from Create-Python-App/fix/51-osv #12

Merge pull request #110 from Create-Python-App/fix/51-osv

Merge pull request #110 from Create-Python-App/fix/51-osv #12

Workflow file for this run

name: Shellcheck
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
if compgen -G "**/*.sh" > /dev/null; then
sudo apt-get update && sudo apt-get install -y shellcheck
find . -name "*.sh" -print0 | xargs -0 shellcheck
else
echo "No shell scripts; skipping"
fi