Skip to content

Commit 975e2ad

Browse files
committed
docs: simplify GitHub Direct Commit URL format documentation
1 parent ac19cd2 commit 975e2ad

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -496,19 +496,9 @@ https://api.github.com/repos/lukasoppermann/design-token-transformer/dispatches
496496

497497
**Using GitHub Direct Commit:**
498498

499-
If you use the `github_commit` auth type for direct file commits, the server url must be in the format:
499+
If you use the `github_commit` auth type for direct file commits, the server url can be:
500500

501-
```
502-
https://api.github.com/repos/:username/:repo
503-
```
504-
505-
For the repository `lukasoppermann/design-token-transformer` this would be:
506-
507-
```
508-
https://api.github.com/repos/lukasoppermann/design-token-transformer
509-
```
510-
511-
You can also use the simpler format:
501+
- `https://api.github.com/repos/:username/:repo`
512502
- `https://github.com/:username/:repo`
513503

514504
#### **Auth header**

0 commit comments

Comments
 (0)