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

20 lines
561 B
Markdown
Raw 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.
# shellcheck
用 shellcheck(v0.10.0)檢查 shell 腳本的 Docker action,映像檔已內建,不用每次下載。沒有符合的檔案就略過。
```yaml
- uses: https://gitea.jsc.idv.tw/actions/shellcheck@v0.0.1
with:
files: "*.sh scripts/**/*.sh"
severity: warning
```
## 輸入
|名稱|預設|說明|
|---|---|---|
|`files`|`*.sh`|要檢查的檔案,空白分隔,可用萬用字元(支援 `**`)|
|`severity`|`warning`|回報的最低嚴重度:error、warning、info、style|
圖示:`icon.svg`(頭像用 `icon.png`)。