Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

codemaker-action

CodeMaker GitHub Action

How to use

This GitHub action takes 3 (required) inputs:

  • api-key: Your CodeMaker API Key. For security, please consider using secrets to provide this value.
  • mode: CodeMaker generation mode. Currently we support code, docs or unit-tests.
  • path: The path of the file to process.

Example workflow configuration

The following example workflow includes 3 steps:

  1. Checkout the repository.
  2. Run CodeMaker action to processing file example.java. Generated code will be directly written into this file.
  3. Create a pull request for code review.

Full example is available here.

on: [workflow_dispatch]jobs:
codemakerai_generation_job:
runs-on: ubuntu-latestname: A job to run codemakerai code generationsteps:
- name: Checkoutuses: actions/checkout@v4
- name: Code generationuses: codemakerai/codemaker-action@v1.5.0with:
api-key: ${{ secrets.CODEMAKER_API_KEY }}mode: codepath: ./example.java
- name: Create Pull Requestuses: peter-evans/create-pull-request@v6with:
commit-message: Code generated by codemakertitle: Changes by codemaker-actionbody: This pull request contains code generated by codemaker.branch: codemakerai-generate

License

MIT License

About

CodeMaker Github Action

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages