Skip to content

Commit 9a74b58

Browse files
authored
docs(qa-gate): use -F for typed boolean strict=false (MCP-1227) (#619)
gh api -f sends all values as strings, so -f strict=false fails the branch protection PATCH with HTTP 422 ("false" is not a boolean). Use uppercase -F for the typed boolean; contexts[] entries correctly stay on -f (strings).
1 parent aa3794f commit 9a74b58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/qa-merge-gate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Add the three new contexts (keeps `enforce_admins: false`):
5656

5757
```bash
5858
gh api -X PATCH repos/:owner/:repo/branches/main/protection/required_status_checks \
59-
-f strict=false \
59+
-F strict=false \
6060
-f 'contexts[]=Lint' \
6161
-f 'contexts[]=Unit Tests (ubuntu-latest, 1.25)' \
6262
-f 'contexts[]=Build (ubuntu-latest)' \

0 commit comments

Comments
 (0)