appstore-precheck 1.1.1 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@
5
5
  # the .precheck-pass token action — so the verdict is machine-testable, not just an
6
6
  # agent judgement.
7
7
  #
8
- # GREEN 0 FAIL and <=2 WARN -> token: write
9
- # YELLOW 0 FAIL and >=3 WARN -> token: hold (needs explicit human confirmation)
8
+ # GREEN 0 FAIL and <=4 WARN -> token: write
9
+ # YELLOW 0 FAIL and >=5 WARN -> token: hold (needs explicit human confirmation)
10
10
  # RED >=1 FAIL -> token: remove
11
11
  #
12
12
  # Usage:
@@ -49,7 +49,7 @@ passes=$(count '^PASS:')
49
49
 
50
50
  if (( fails >= 1 )); then
51
51
  verdict="RED"; token="remove"; code=1
52
- elif (( warns >= 3 )); then
52
+ elif (( warns >= 5 )); then
53
53
  verdict="YELLOW"; token="hold"; code=2
54
54
  else
55
55
  verdict="GREEN"; token="write"; code=0