mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 01:27:22 +02:00
Backport #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:
1 parent
8fc80b34a0
commit
ea38455e1f
3 files changed
+17
-7
No files matched your search
@@ -4614,7 +4614,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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user