gitlab-branch-source-plugin icon indicating copy to clipboard operation
gitlab-branch-source-plugin copied to clipboard

Don't check trusted members on non-fork merge requests to reduce GitLab API calls

Open The-Jonsey opened this issue 2 weeks ago • 1 comments

Preventing calling gitlab api to get all members on project for non-fork merge requests in getTrustedRevision, hopefully helps with #515

Testing done

Tested on a jenkins instance, fork builds were not tested as none of the projects this jenkins can touch can be forked, but origin merge requests worked as intended.

Submitter checklist

  • [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x] Ensure that the pull request title represents the desired changelog entry
  • [x] Please describe what you did
  • [x] Link to relevant issues in GitHub or Jira
  • [x] Link to relevant pull requests, esp. upstream and downstream changes
  • [x] Ensure you have provided tests that demonstrate the feature works or the issue is fixed

The-Jonsey avatar Nov 11 '25 16:11 The-Jonsey