GitHub Action
CodeMaker AI code and documentation generation capabilities can be used in Continous Delivery / Continuous integration workflows. GitHub Actions are a way of integrating the execution of build steps that can be triggered with any pull request and commit being pushed into GitHub repository.
CodeMaker AI offers dedicated GitHub Action that can easily integrated into any workflow. To get started with the CodeMaker AI action open in your browser your repository Settings tab and under Secrets and Variables > Actions add a repository secret with the CodeMaker AI API key.
Next create a new file named codemaker.yaml
under .github/workflows
directory. In the file add the following configuration:
The above configuration configures a GitHub Action workflow that is triggered on every code push. The workflow will checkout the source code and execute the CodeMaker AI code generation command across the entire source tree. Once the processing is complete the changes will be committed and submitted as pull requests to the repository for manual review.
Next time a commit is pushed into the master branch CodeMaker AI code generation will be triggered automatically and a pull request is going to be created.
Last updated