Commit 5f78263
Fix two validation bugs surfaced by godaddy-dnsplugin test run
1. link_github default — jq's // operator treats both null AND false
as "use the default", so `.link_github // "true"` silently flipped
`link_github: false` manifests to "true". On a private repo (like
the godaddy-dnsplugin test) that's the exact path that gets
rejected as a broken-link case. Switch to an explicit null check
so a literal `false` is preserved.
2. -dev failsafe grep — pattern '-(dev|test|staging|poc)$' starts
with a dash, so grep interpreted it as a flag and emitted
"invalid option -- '('". Execution continues (the if-condition
just evaluates false) but the failsafe wasn't actually firing —
any -dev / -test / -staging / -poc repo would slip past this
check. Add a -- separator so grep treats the next arg as the
pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e86ab22 commit 5f78263
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments