Skip to content

Conversation

mzampetakis
Copy link
Contributor

No description provided.

@mzampetakis
Copy link
Contributor Author

For the testing I run

GET http://DOMAIN/api/repos/10
---

{
    "id": 10,
    "forge_remote_id": "{UUID}",
    "owner": "michaliszampetakis",
    "name": "test-repo",
    "full_name": "michaliszampetakis/test-repo",
    "avatar_url": "",
    "link_url": "https://bitbucket.org/michaliszampetakis/test-repo",
    "clone_url": "https://bitbucket.org/michaliszampetakis/test-repo.git",
    "default_branch": "master",
    "scm": "git",
    "timeout": 60,
    "visibility": "private",
    "private": true,
    "trusted": false,
    "gated": false,
    "active": true,
    "allow_pr": true,
    "config_file": "",
    "cancel_previous_pipeline_events": [
        "",
        "",
        "push",
        "pull_request"
    ],
    "netrc_only_trusted": true
}

And then having 2 PRs open:

GET http://DOMAIN/api/repos/10/pull_requests
[
    {
        "index": 2,
        "title": "README.md edited online with Bitbucket"
    },
    {
        "index": 1,
        "title": "Update README.md"
    }
]

@mzampetakis mzampetakis force-pushed the feat/forge/add-bitbucket-pullrequests branch from 43e1b5d to 941372d Compare June 27, 2023 19:37
@anbraten anbraten changed the title Add forge for bitbucket pullr-equests Add pull-request function for bitbucket forge Jun 27, 2023
@anbraten anbraten added this to the 1.0.0 milestone Jun 27, 2023
@anbraten anbraten added server enhancement improve existing features forge/bitbucket bitbucket forge related labels Jun 27, 2023
@anbraten anbraten changed the title Add pull-request function for bitbucket forge Add pull-request implementation for bitbucket forge Jun 27, 2023
@anbraten anbraten enabled auto-merge (squash) June 27, 2023 20:28
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.05 ⚠️

Comparison is base (3033abc) 39.22% compared to head (dc34b94) 39.17%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1889      +/-   ##
==========================================
- Coverage   39.22%   39.17%   -0.05%     
==========================================
  Files         177      177              
  Lines       10690    10702      +12     
==========================================
  Hits         4193     4193              
- Misses       6204     6216      +12     
  Partials      293      293              
Impacted Files Coverage Δ
server/forge/bitbucket/bitbucket.go 73.72% <0.00%> (-3.95%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@anbraten anbraten merged commit 456725d into woodpecker-ci:master Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features forge/bitbucket bitbucket forge related server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants