Skip to content

Commit c1240e0

Browse files
author
Roman Glushko
committed
magento#184 Updated env variables for PR data
1 parent ea0fb85 commit c1240e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gradle-tasks/staticChecks.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ task checkstyleCI(type: Checkstyle) {
6565
*/
6666
def getChangedFiles() {
6767
// Get the target and source branch
68-
def envTargetBranch = System.getenv("github.event.pull_request.head.ref")
69-
def envSourceBranch = System.getenv("ghprbSourceBranch")
68+
def envTargetBranch = System.getenv("github.event.pull_request.base.ref")
69+
def envSourceBranch = System.getenv("github.event.pull_request.head.ref")
7070

7171
// Compare to master if no branch specified
7272
def targetBranch

0 commit comments

Comments
 (0)