Skip to content

Commit 6402dae

Browse files
docs(oss): the notify example must use gh api -f, not -F (#269)
`docs/oss/release-automation.md` shows product repositories how to send the `product-published` dispatch with `gh api ... -F 'client_payload[package]=@prisma/composer-cli'`. `-F` reads a value that starts with `@` from a file, so that line fails with `open prisma/composer-cli: no such file or directory` before any request is made. prisma/composer#295 copied the example verbatim and its review bot caught it. `-f` sends the literal string. Two characters changed; no code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 52d6840 commit 6402dae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/oss/release-automation.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ A step in the publish workflow, immediately after its publish step and keyed on
5656
run: |
5757
gh api repos/prisma/prisma-cli/dispatches \
5858
-f event_type=product-published \
59-
-F 'client_payload[package]=@prisma/composer-cli' \
60-
-F "client_payload[version]=$VERSION"
59+
-f 'client_payload[package]=@prisma/composer-cli' \
60+
-f "client_payload[version]=$VERSION"
6161
```
6262
6363
The payload is informational — this repository always re-reads the registry rather than trusting the event, so a malformed or replayed event cannot pin a version that does not exist.

0 commit comments

Comments
 (0)