Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: ead8164df3191366dbddafae4556ffabdba65554
https://github.com/openSUSE/open-build-service/commit/ead8164df3191366dbddaf...
Author: Dani Donisa
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M src/api/app/services/workflows/scm_event_subscription_creator.rb
Log Message:
-----------
Fix reusing EventSubscription
Including the `WorkflowRun` in the `find` part we will never find a
previous `EventSubscription` because we are always in a new `WorkflowRun`
when we are using this service.
So we always `create` a new `EventSubscription` and we end up having one subscription
per SCM event. This makes us report for *each* commit and in case of PR synchronization
even twice for the same commit...
Commit: 9035d4e70bdae80b76f799b429ebdcd43987616f
https://github.com/openSUSE/open-build-service/commit/9035d4e70bdae80b76f799...
Author: Henne Vogelsang
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M src/api/app/services/workflows/scm_event_subscription_creator.rb
Log Message:
-----------
Merge pull request #14690 from danidoni/fix/reuse-existing-event-subscriptions-to-notify-scms-back
Reuse existing event subscription to notify SCMs back
Compare: https://github.com/openSUSE/open-build-service/compare/d208d5ff31eb...9035d4...