File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ task checkstyleCI(type: Checkstyle) {
67
67
*/
68
68
def getChangedFiles () {
69
69
// Get the target and source branch
70
- def envTargetBranch = System . getenv(" github.event.pull_request.base.ref " )
71
- def envSourceBranch = System . getenv(" github.event.pull_request.head.ref " )
70
+ def envTargetBranch = System . getenv(" github.base_ref " )
71
+ def envSourceBranch = System . getenv(" github.head_ref " )
72
72
73
- logger. debug(' github.event.pull_request.base.ref : {}' , envTargetBranch)
74
- logger. debug(' github.event.pull_request.head.ref : {}' , envSourceBranch)
73
+ logger. debug(' Target Branch : {}' , envTargetBranch)
74
+ logger. debug(' Source Branch : {}' , envSourceBranch)
75
75
76
76
// Compare to master if no branch specified
77
77
def targetBranch
You can’t perform that action at this time.
0 commit comments