Skip to content

BitbucketDC: add event pull request opened #5048

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

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

Levy-Tal
Copy link
Contributor

@Levy-Tal Levy-Tal commented Apr 2, 2025

Fix: Trigger pull_request Event on Pull Request Opened

Issue

In Bitbucket Data Center, the pull_request event is not triggered when a pull request is opened because the "pull request opened" event is missing from webhooks.
As a result, our developers currently have to push an additional commit after opening a pull request just to trigger the event.

This behavior differs from Bitbucket Cloud, where the event is triggered upon pull request creation.
Reference: Bitbucket implementation in Woodpecker CI.

I tested this change in my home lab, and it now works as expected.

@qwerty287 qwerty287 added bug Something isn't working forge/bitbucket bitbucket forge related labels Apr 2, 2025
@xoxys xoxys enabled auto-merge (squash) April 2, 2025 16:04
@xoxys xoxys merged commit 2da71c4 into woodpecker-ci:main Apr 2, 2025
6 of 7 checks passed
This was referenced Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forge/bitbucket bitbucket forge related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants