Remove log
This commit is contained in:
parent
044466b91b
commit
f4692d2d07
2
index.js
2
index.js
|
@ -41,7 +41,7 @@ Toolkit.run(async tools => {
|
|||
|
||||
let currentBranch = /refs\/[a-zA-Z]+\/(.*)/.exec(process.env.GITHUB_REF)[1]
|
||||
if (process.env.GITHUB_HEAD_REF) {
|
||||
console.log('Is pull request');
|
||||
// Comes from a pull request
|
||||
currentBranch = process.env.GITHUB_HEAD_REF;
|
||||
}
|
||||
console.log('currentBranch:', currentBranch)
|
||||
|
|
Loading…
Reference in New Issue