Skip to content

Commit 50d3aff

Browse files
authored
Update README.md (#230)
* Update README.md * Fix formatting * Update version in README
1 parent b242594 commit 50d3aff

File tree

3 files changed

+3019
-2272
lines changed

3 files changed

+3019
-2272
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ for [Creating a workflow file](https://help.github.com/en/articles/configuring-a
2222
- `min-coverage-changed-files` - [*optional* {default: 80%}] The minimum code coverage that is required to pass for changed files
2323
- `update-comment` - [*optional* {default: false}] If true, updates the previous coverage report comment instead of creating new one.
2424
Requires `title` to work properly
25+
- `comment-type` - [*optional* {pr_comment, summary, both} {default: pr_comment}] Specifies where to add the comment, whether as a PR comment,
26+
workflow summary, or both.
27+
- `pr-number` - [*optional*] The PR number to add the comment to. If not provided, the action will try to get it from the environment.
2528
- `title` - [*optional*] Title for the Pull Request comment
2629
- `skip-if-no-changes` - [*optional* {default: false}] If true, comment won't be added if there is no coverage information present for
2730
the files changed
@@ -61,7 +64,7 @@ jobs:
6164
6265
- name: Add coverage to PR
6366
id: jacoco
64-
uses: madrapps/[email protected].1
67+
uses: madrapps/[email protected].2
6568
with:
6669
paths: |
6770
${{ github.workspace }}/**/build/reports/jacoco/prodNormalDebugCoverage/prodNormalDebugCoverage.xml,
@@ -121,7 +124,7 @@ refer [jacoco-android-playground](https://github.com/thsaravana/jacoco-android-p
121124
```yaml
122125
- name: Jacoco Report to PR
123126
id: jacoco
124-
uses: madrapps/[email protected].1
127+
uses: madrapps/[email protected].2
125128
with:
126129
paths: ${{ github.workspace }}/build/reports/jacoco/testCoverage/testCoverage.xml
127130
token: ${{ secrets.GITHUB_TOKEN }}
@@ -142,7 +145,7 @@ refer [jacoco-android-playground](https://github.com/thsaravana/jacoco-android-p
142145
```yaml
143146
- name: Jacoco Report to PR
144147
id: jacoco
145-
uses: madrapps/[email protected].1
148+
uses: madrapps/[email protected].2
146149
with:
147150
paths: |
148151
${{ github.workspace }}/**/build/reports/jacoco/**/prodNormalDebugCoverage.xml,
@@ -162,7 +165,7 @@ refer [jacoco-android-playground](https://github.com/thsaravana/jacoco-android-p
162165
```yaml
163166
- name: Jacoco Report to PR
164167
id: jacoco
165-
uses: madrapps/[email protected].1
168+
uses: madrapps/[email protected].2
166169
with:
167170
paths: ${{ github.workspace }}/build/reports/jacoco/testCoverage/testCoverage.xml
168171
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)