From 6861471ad3d1fa0ddde23eba04d6bdb8f29530c4 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 30 May 2026 19:20:03 +0000 Subject: [PATCH] Atualizar .github/workflows/shellcheck.yml --- .github/workflows/shellcheck.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index a1b92cc..4c34ec7 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -2,18 +2,24 @@ name: ShellCheck CI on: push: - branches: [ main, feature/* ] + branches: [ master, feature/* ] pull_request: - branches: [ main ] + branches: [ master ] jobs: shellcheck: runs-on: deploy + container: + image: koalaman/shellcheck-alpine:stable # imagem oficial do shellcheck + steps: - - uses: actions/checkout@v3 - + - name: Checkout + run: | + git clone http://10.11.10.71:3000/${{ gitea.repository }}.git . + git checkout ${{ gitea.sha }} + - name: Run ShellCheck - uses: ludeeus/action-shellcheck@master - with: - severity: warning - ignore_paths: logs + run: | + find . -name "*.sh" \ + -not -path "./logs/*" \ + -exec shellcheck --severity=warning {} + \ No newline at end of file