Closed Progi1984 closed 4 years ago
(it uses knplabs/github-api)
@matks FYI this test will never be true
if ($masterLastCommitSha === $devLastCommitSha) {
$reporting[$repositoryName] = 'master and dev are sync';
continue;
}
Example: https://github.com/PrestaShop/ps_linklist/commits/dev https://github.com/PrestaShop/ps_linklist/commits/master
the latest on the master
branch should always be a Merge commit
We need to build a tool that is able to
parse all github prestashop repos
find which ones are modules
find whether
dev
branch is ahead ofmaster
can, if required, create the "merge dev into master" PR*, and ask devs and QA to validate it
This requires
to find the latest version
modify the version number
create the PR, find if there are git conflicts
I started a POC like this: