-
Notifications
You must be signed in to change notification settings - Fork 85
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
Avoid builds for closed/merged PR #332
Comments
One more observation which resulted into same issue again. Flow:
Is there anyway we can ignore the build trigger if PR is closed/merged ? |
@KostyaSha Can you please help ? |
@KostyaSha I'm still facing this issue. Any help would be really appreciated. |
Probably try to add one more criteria "Pull Request Closed" that will skip PR builds. Though |
is this issue solved? @KostyaSha |
Hello,
I'm new to this plugin and really appreciate your help here.
I have configured the plugin as per the instructions provided.
Client cache is set to 20.
My trigger event is "Comment matched to Pattern"
My webhook settings on gitlab.com sends below events
a. Issue Comments
b. Pull requests
Expected flow:
Actual result:
When a comment matches my pattern, build is getting triggered and the build status is being reported before and after the build. This is working as per my expectation.
Issue I'm facing
a. Admin merges the PR
b. Pipeline reports the status on the closed/merged PR
c. Github PR polling log says "Change found and comment pattern matched"
d. Build triggers
e. Build finishes and Pipeline reports the status on the closed/merged PR
f. Github PR polling log says "Change found and comment pattern matched"
g. This goes in a loop. Last night I had 200 builds triggered and finally when I cancel the queued build before even running, this loop got stopped.
What I'm expecting
The text was updated successfully, but these errors were encountered: