-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix webhook tests and reformat payload info
Co-authored-by: Till-André Diegeler<[email protected]> Pushed-by: Till-André Diegeler<[email protected]> Signed-off-by: Till-André Diegeler<[email protected]>
- Loading branch information
1 parent
18acb89
commit b828dab
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"HTMLURL": "github.com/scm-manager/argocd-test", | ||
"Branch": { | ||
"Name": "testrepo", | ||
"DefaultBranch": true | ||
"sourceUrl": "https://scm-manager.org/scm/scm-manager/argocd-test", | ||
"branch": { | ||
"name": "develop", | ||
"defaultBranch": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package goscm | ||
|
||
type PushEventPayload struct { | ||
HTMLURL string `json:"HTMLURL"` | ||
Branch Branch `json:"branch"` | ||
SourceUrl string `json:"sourceUrl"` | ||
Branch Branch `json:"branch"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters