-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring SCMWebhook away #15956
Draft
hennevogel
wants to merge
35
commits into
openSUSE:master
Choose a base branch
from
hennevogel:refactoring/scm_webhook
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Refactoring SCMWebhook away #15956
Conversation
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
hennevogel
force-pushed
the
refactoring/scm_webhook
branch
2 times, most recently
from
April 10, 2024 13:57
b848e29
to
d9d43cb
Compare
krauselukas
force-pushed
the
refactoring/scm_webhook
branch
4 times, most recently
from
April 11, 2024 12:59
167b33c
to
0d9c7ab
Compare
hennevogel
commented
Apr 11, 2024
krauselukas
force-pushed
the
refactoring/scm_webhook
branch
from
April 11, 2024 14:41
a4f308b
to
c21a8a2
Compare
hennevogel
commented
Apr 11, 2024
krauselukas
force-pushed
the
refactoring/scm_webhook
branch
from
April 11, 2024 15:10
c21a8a2
to
0c123d2
Compare
hennevogel
commented
Apr 11, 2024
hennevogel
commented
Apr 11, 2024
hennevogel
commented
Apr 11, 2024
hennevogel
commented
Apr 11, 2024
krauselukas
force-pushed
the
refactoring/scm_webhook
branch
from
April 11, 2024 15:24
0c123d2
to
77e681a
Compare
hennevogel
commented
Apr 11, 2024
@@ -43,6 +43,10 @@ def gitlab_target_branch | |||
payload[:after] # for a tag push event | |||
end | |||
|
|||
def gitlab_object_kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes little sense as it's not universal and it's just always merge_request
when we use it...
krauselukas
force-pushed
the
refactoring/scm_webhook
branch
2 times, most recently
from
April 12, 2024 12:47
ce4dfbb
to
940a867
Compare
hennevogel
force-pushed
the
refactoring/scm_webhook
branch
5 times, most recently
from
April 12, 2024 14:56
1737385
to
70217b1
Compare
to be used in WorkflowRun.
We are going to refactor SCMWebhook away...
This will be something for TriggerWorkflowController
so we can ask WorkflowRun everything we could ask SCMWebhook before...
We basically only need the SCM unspecific method public. The rest can be private and in SCM specific concerns.
Everything it was able to do, WorkflowRun can do now...
We don't need SCMWebhook anymore...
This method got removed.
…repository_full_name)`
To be able to ask if we are going to run for this or not.
hennevogel
force-pushed
the
refactoring/scm_webhook
branch
from
April 19, 2024 14:58
b4656e1
to
68287e5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.