Runs MerlyMentor inside Docker against your repository, turning technical debt into technical strength.
- ✅ Determine Code Quality
- ✅ Objective analysis
- ✅ Turn technical debt into technical strength
- ✅ Supports 15 programming languages
- ✅ Works cross-platform (Linux, Windows, macOS)
name: mentor
uses: merly-ai/mentor-action@v1| Input | Description | Default |
|---|---|---|
mm-key |
Merly API key (store as repo secret MM_KEY). |
none |
checkout-code |
Perform actions/checkout internally? (true or false) |
true |
path |
Path to your repo on disk (for custom checkouts) | ${{ github.workspace }} |
debug |
Enable Mentor’s debug & stdout output (true or false) |
false |
max-issue-count |
Total number of new issues (of any priority) allowed before failing the pipeline. | 0 |
max-issue-priority |
Fail immediately if any issue meets or exceeds this priority level (0–4 or Low/Medium/High/Critical). |
0 |
- (Optional) Checks out your repository
- Binds your code into the container at
/repo - Runs the MerlyMentor Docker image (pinned by version) as your runner user to avoid permission issues
- Streams analysis results back into your workflow logs
name: mentor
uses: merly-ai/mentor-action@v1name: mentor
uses: merly-ai/mentor-action@v1
with:
mm-key: ${{ secrets.mentor_key }}name: mentor
uses: merly-ai/mentor-action@v1
with:
mm-key: ${{ secrets.mentor_key }}
debug: truename: mentor
uses: merly-ai/mentor-action@v1
with:
max-issue-count: 5This will fail if there are 5 or more issues of any priority.
name: mentor
uses: merly-ai/mentor-action@v1
with:
max-issue-priority: HighThis will fail as soon as any issue is High or Critical, even if there are fewer than 5 issues overall.
name: mentor
uses: merly-ai/mentor-action@v1
with:
max-issue-count: 5
max-issue-priority: HighThis will fail if either:
- You have 5 or more issues of any priority, or
- You have any issue at High or above (e.g. 3 Low + 1 High will fail immediately).
Apache License 2.0 © Merly.ai