Files
sysadmin-toolkit/.github/workflows/shellcheck.yml
T
admin 6861471ad3
Deploy via Script Externo / deploy (push) Failing after 5s
Teste Shell Runner / shell-test (push) Successful in 20s
Atualizar .github/workflows/shellcheck.yml
2026-05-30 19:20:03 +00:00

25 lines
574 B
YAML

name: ShellCheck CI
on:
push:
branches: [ master, feature/* ]
pull_request:
branches: [ master ]
jobs:
shellcheck:
runs-on: deploy
container:
image: koalaman/shellcheck-alpine:stable # imagem oficial do shellcheck
steps:
- name: Checkout
run: |
git clone http://10.11.10.71:3000/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }}
- name: Run ShellCheck
run: |
find . -name "*.sh" \
-not -path "./logs/*" \
-exec shellcheck --severity=warning {} +