forked from forgejo/forgejo
Fill the specified ref in webhook test payload (#20961)
The webhook payload should use the right ref when it‘s specified in the testing request. The compare URL should not be empty, a URL like `compare/A...A` seems useless in most cases but is helpful when testing.
This commit is contained in:
parent
0887459ac6
commit
93a610a819
3 changed files with 17 additions and 7 deletions
|
@ -4666,7 +4666,7 @@
|
|||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The name of the commit/branch/tag. Default the repository’s default branch (usually master)",
|
||||
"description": "The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload.",
|
||||
"name": "ref",
|
||||
"in": "query"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue