Skip to content

Commit 25d1c03

Browse files
committed
remove link for deploy
1 parent cee7788 commit 25d1c03

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

scm/driver/github/testdata/webhooks/deployment.json.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"Created": "0001-01-01T00:00:00Z",
3030
"Updated": "0001-01-01T00:00:00Z"
3131
},
32-
"Link": "https://api.github.com/repos/Codertocat/Hello-World/deployments/87972451",
3332
"Target": "production",
3433
"TargetURL": "",
3534
"Task": "deploy"

scm/driver/github/webhook.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ func convertPullRequestHook(src *pullRequestHook) *scm.PullRequestHook {
359359

360360
func convertDeploymentHook(src *deploymentHook) *scm.DeployHook {
361361
dst := &scm.DeployHook{
362-
Link: src.Deployment.URL.String,
363362
Data: src.Deployment.Payload,
364363
Desc: src.Deployment.Description.String,
365364
Ref: scm.Reference{

scm/webhook.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ type (
111111
Target string
112112
TargetURL string
113113
Task string
114-
Link string
115114
}
116115

117116
// SecretFunc provides the Webhook parser with the

0 commit comments

Comments
 (0)