-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Feature request.
Clones the base (e.g. master branch) at the latest commit, and merges the pull request at the specified commit into master. This ensures that we are both testing and setting status on the exact commit that was requested in input.
https://github.com/telia-oss/github-pr-resource#get
This is a great default, but I think it could be really useful to have other options available.
One real example is I think it would be very easy to reuse this plugin for sonarqube scanning if the preview merge wasn't performed – as sonarqube PR analysis won't work with a preview merge to the master branch. An option to start with the source as the HEAD commit of the PR branch could potentially allow this use case.
The analysis is being run on a local repository with valid repository metadata (e.g. the .git or .svn folders have not been removed). Avoid any attempt at previewing the merge or actions involving your main branch.
https://docs.sonarqube.org/latest/analysis/pull-request/