Files
shellcheck/action.yml
T
bot e2cf1982c1
ci / test (push) Failing after 4s
初始版本
2026-11-05 03:16:36 +00:00

16 lines
542 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: shellcheck
description: "用 shellcheck 檢查 shell 腳本(Docker action,shellcheck v0.10.0)。沒有符合的檔案就略過。要在 checkout 之後使用"
inputs:
files:
description: "要檢查的檔案,空白分隔,可用萬用字元(相對於儲存庫根目錄,支援 **)"
default: "*.sh"
severity:
description: "回報的最低嚴重度:error、warning、info、style"
default: warning
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.files }}
- ${{ inputs.severity }}