File tree 1 file changed +4
-0
lines changed
upsertGitHubTag/deployment
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ function deleteEndpoint(
74
74
repository ,
75
75
reference ,
76
76
username ,
77
+ installationId ,
77
78
deliveryId ,
78
79
callback
79
80
) {
@@ -83,6 +84,7 @@ function deleteEndpoint(
83
84
urlWithParams . searchParams . append ( "gitReference" , reference ) ;
84
85
urlWithParams . searchParams . append ( "repository" , repository ) ;
85
86
urlWithParams . searchParams . append ( "username" , username ) ;
87
+ urlWithParams . searchParams . append ( "installationId" , installationId ) ;
86
88
87
89
const options = url . parse ( urlWithParams . href ) ;
88
90
options . method = "DELETE" ;
@@ -219,6 +221,7 @@ function processEvent(event, callback) {
219
221
const repository = body . repository . full_name ;
220
222
const gitReference = body . ref ;
221
223
const username = body . sender . login ;
224
+ const installationId = body . installation . id ;
222
225
223
226
path += "workflows/github" ;
224
227
@@ -227,6 +230,7 @@ function processEvent(event, callback) {
227
230
repository ,
228
231
gitReference ,
229
232
username ,
233
+ installationId ,
230
234
deliveryId ,
231
235
( response ) => {
232
236
const successMessage =
You can’t perform that action at this time.
0 commit comments