Skip to content

Commit

Permalink
Fix CEL expression bug on push in Bitbucket server
Browse files Browse the repository at this point in the history
fixed CEL experssion bug in push event when used
in Bitbucket server.

Upstream issue:
fixes #1677

https://issues.redhat.com/browse/SRVKP-6377
https://issues.redhat.com/browse/SRVKP-5561

Signed-off-by: Zaki Shaikh <[email protected]>
  • Loading branch information
zakisk authored and chmouel committed Dec 13, 2024
1 parent f7c282b commit bbd6739
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/provider/bitbucketserver/parse_payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func (v *Provider) ParsePayload(_ context.Context, _ *params.Run, request *http.
}
v.pullRequestNumber = e.PullRequest.ID
case *types.PushRequestEvent:
processedEvent.Event = "push"
processedEvent.TriggerTarget = "push"
processedEvent.Organization = e.Repository.Project.Key
processedEvent.Repository = e.Repository.Slug
Expand Down

0 comments on commit bbd6739

Please sign in to comment.