Skip to content

Commit fb7241d

Browse files
committed
module
1 parent e989958 commit fb7241d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
api_base: https://api.codeant.ai
5757
platform: github
5858
base_url: https://github.com
59+
module: backend # Optional: for monorepo setups
5960
```
6061
6162
## Inputs
@@ -67,6 +68,7 @@ jobs:
6768
| `api_base` | CodeAnt AI API base URL | No | `https://api.codeant.ai` |
6869
| `platform` | Git platform (github, gitlab, bitbucket) | No | `github` |
6970
| `base_url` | Base URL of the git platform | No | `https://github.com` |
71+
| `module` | Module name for monorepo setups (optional) | No | `''` |
7072

7173
## Supported Coverage Formats
7274

action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
description: 'Base URL of the git platform'
2727
required: false
2828
default: 'https://github.com'
29+
module:
30+
description: 'Module name for monorepo setups (optional)'
31+
required: false
32+
default: ''
2933

3034
runs:
3135
using: 'composite'
@@ -60,6 +64,7 @@ runs:
6064
COVERAGE_FILE: ${{ inputs.coverage_file }}
6165
PLATFORM: ${{ inputs.platform }}
6266
BASE_URL: ${{ inputs.base_url }}
67+
MODULE: ${{ inputs.module }}
6368
run: |
6469
bash upload_coverage.sh \
6570
-t "$ACCESS_TOKEN" \
@@ -68,4 +73,5 @@ runs:
6873
-f "$COVERAGE_FILE" \
6974
-p "$PLATFORM" \
7075
-b "$BRANCH" \
71-
-u "$BASE_URL"
76+
-u "$BASE_URL" \
77+
-m "$MODULE"

0 commit comments

Comments
 (0)