Skip to content

Commit 783e2f1

Browse files
committed
chore: update text
1 parent 7db3b75 commit 783e2f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/2024-08-21-adding-comments-to-pr.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ file **pr-number.txt** to know to which PR that comment should be added in the s
9191

9292
### Any comment?
9393

94-
Now that we have a workflow to generate the code coverage of the PR and generate a comment that we would like to add to the PR,
94+
Now that we have a workflow to calculate the code coverage of the PR and generate a comment that we would like to add to it,
9595
we just need a [workflow](https://github.com/eclipse-uprotocol/up-java/blob/main/.github/workflows/coverage-comment-pr.yml) that gets triggered
9696
when the first workflow is completed:
9797

@@ -154,6 +154,8 @@ jobs:
154154
{% endraw %}
155155
{% endhighlight %}
156156

157+
The workflow will download the artifact attached to the workflow run that triggered it and add a comment to the associated PR with the attached content.
158+
157159
> **_NOTE_**: There are pre-made [3rd party actions](https://github.com/marketplace?query=download+artifact+from+workflow+run) to
158160
download artifacts from previous workflow runs that could be used to further simplify such a workflow.
159161

0 commit comments

Comments
 (0)