We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0fb85 commit c1240e0Copy full SHA for c1240e0
gradle-tasks/staticChecks.gradle
@@ -65,8 +65,8 @@ task checkstyleCI(type: Checkstyle) {
65
*/
66
def getChangedFiles() {
67
// Get the target and source branch
68
- def envTargetBranch = System.getenv("github.event.pull_request.head.ref")
69
- def envSourceBranch = System.getenv("ghprbSourceBranch")
+ def envTargetBranch = System.getenv("github.event.pull_request.base.ref")
+ def envSourceBranch = System.getenv("github.event.pull_request.head.ref")
70
71
// Compare to master if no branch specified
72
def targetBranch
0 commit comments