Development record
The guard reads some forge calls that touch no ref as a PATCH on a ref. Since the history hazards landed in #1394, gh api -X PATCH on repos/$O/$R/properties/values with --input is refused by gh-api-ref-input, because forgeOtherRoutes does not list that route, so the variable path can still be a ref; and a -p "$P" value reads as a possible ref path, because the hazards' value_flags omit -p and --preview. Spelling the path or the flag out avoids both.
issueopenminoriss-2611042320121086
The guard reads some forge calls that touch no ref as a PATCH on a ref. Since the history hazards landed in #1394, gh api -X PATCH on repos/$O/$R/properties/values with --input is refused by gh-api-ref-input, because forgeOtherRoutes does not list that route, so the variable path can still be a ref; and a -p "$P" value reads as a possible ref path, because the hazards' value_flags omit -p and --preview. Spelling the path or the flag out avoids both.
Frontmatter
| id | iss-2611042320121086 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2611042320121086-the-guard-reads-some-forge-calls-as-a.md
open on GitHub ↗ · commit history ↗