mirror of
https://github.com/xuexb/github-bot.git
synced 2026-01-18 13:56:38 +00:00
test: Update check tag
This commit is contained in:
parent
dbfec4177e
commit
d67c46d61f
@ -34,6 +34,12 @@ const utils = {
|
||||
}
|
||||
},
|
||||
|
||||
getActionLog({dir, before, after, action}) {
|
||||
return execSync(`cd ${dir} && FORMAT="- %s, by @%cn"
|
||||
git log ${before}..${after} --no-merges --pretty=format:"$FORMAT" | grep ${action}`).toString();
|
||||
|
||||
},
|
||||
|
||||
cloneRepo(url, repo) {
|
||||
const repoDir = path.resolve(__dirname, '../github/', repo);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user