Change in shield-trigger-iptables for ipset support #24
Annotations
7 errors and 10 warnings
lint
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
lint:
scripts/shield-trigger-iptables#L46
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
scripts/shield-trigger-iptables:46:- if echo $TASK | egrep -q "(add|-[CIA]|test)"; then
scripts/shield-trigger-iptables:46:+ if echo "$TASK" | egrep -q "(add|-[CIA]|test)"; then
|
lint:
scripts/shield-trigger-iptables#L54
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
scripts/shield-trigger-iptables:54:- if echo $TASK | egrep -q "(add|test)"; then
scripts/shield-trigger-iptables:54:+ if echo "$TASK" | egrep -q "(add|test)"; then
|
lint:
scripts/shield-trigger-iptables#L79
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
scripts/shield-trigger-iptables:79:- ! ipset $TASK "${SETN}_$IPSF" $2 2>/dev/null && run_iptables "add" "$2"
scripts/shield-trigger-iptables:79:+ ! ipset "$TASK" "${SETN}_$IPSF" "$2" 2>/dev/null && run_iptables "add" "$2"
|
lint:
scripts/shield-trigger-iptables#L96
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
scripts/shield-trigger-iptables:96:- if echo $TASK | egrep -q "(-[IAD])"; then
scripts/shield-trigger-iptables:96:+ if echo "$TASK" | egrep -q "(-[IAD])"; then
|
lint:
scripts/shield-trigger-iptables#L98
[shellcheck (suggestion)] reported by reviewdog 🐶
Raw Output:
scripts/shield-trigger-iptables:98:- elif echo $TASK | egrep -q "(add|del)"; then
scripts/shield-trigger-iptables:98:+ elif echo "$TASK" | egrep -q "(add|del)"; then
|
lint
Process completed with exit code 1.
|
lint:
scripts/shield-trigger-iptables#L46
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:46:10: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L46
[shellcheck] reported by reviewdog 🐶
egrep is non-standard and deprecated. Use grep -E instead.
Raw Output:
./scripts/shield-trigger-iptables:46:18: info: egrep is non-standard and deprecated. Use grep -E instead. (ShellCheck.SC2196)
|
lint:
scripts/shield-trigger-iptables#L54
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:54:13: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L54
[shellcheck] reported by reviewdog 🐶
egrep is non-standard and deprecated. Use grep -E instead.
Raw Output:
./scripts/shield-trigger-iptables:54:21: info: egrep is non-standard and deprecated. Use grep -E instead. (ShellCheck.SC2196)
|
lint:
scripts/shield-trigger-iptables#L79
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:79:11: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L79
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:79:33: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L96
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:96:13: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L96
[shellcheck] reported by reviewdog 🐶
egrep is non-standard and deprecated. Use grep -E instead.
Raw Output:
./scripts/shield-trigger-iptables:96:21: info: egrep is non-standard and deprecated. Use grep -E instead. (ShellCheck.SC2196)
|
lint:
scripts/shield-trigger-iptables#L98
[shellcheck] reported by reviewdog 🐶
Double quote to prevent globbing and word splitting.
Raw Output:
./scripts/shield-trigger-iptables:98:12: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
|
lint:
scripts/shield-trigger-iptables#L98
[shellcheck] reported by reviewdog 🐶
egrep is non-standard and deprecated. Use grep -E instead.
Raw Output:
./scripts/shield-trigger-iptables:98:20: info: egrep is non-standard and deprecated. Use grep -E instead. (ShellCheck.SC2196)
|