Skip to content

Commit 9cfbb20

Browse files
author
Roman Glushko
committed
magento#184 Changed env var names
1 parent e529bc0 commit 9cfbb20

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
@@ -67,8 +67,8 @@ task checkstyleCI(type: Checkstyle) {
6767
*/
6868
def getChangedFiles() {
6969
// Get the target and source branch
70-
def envTargetBranch = System.getenv("github.base_ref")
71-
def envSourceBranch = System.getenv("github.head_ref")
70+
def envTargetBranch = System.getenv("TARGET_BRANCH")
71+
def envSourceBranch = System.getenv("WORKING_BRANCH")
7272

7373
logger.debug('Target Branch: {}', envTargetBranch)
7474
logger.debug('Source Branch: {}', envSourceBranch)

0 commit comments

Comments
 (0)