Skip to content

Commit

Permalink
chore: add workflow name
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Aug 21, 2024
1 parent 783e2f1 commit 82bb921
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _posts/2024-08-21-adding-comments-to-pr.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ and upload the generated data as an artifact. See the snippet below for the rele

{% highlight yaml %}
{% raw %}
name: Java Test and Coverage

...

- name: Generate coverage comment
Expand Down Expand Up @@ -93,7 +95,7 @@ file **pr-number.txt** to know to which PR that comment should be added in the s

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,
we just need a [workflow](https://github.com/eclipse-uprotocol/up-java/blob/main/.github/workflows/coverage-comment-pr.yml) that gets triggered
when the first workflow is completed:
when the first workflow (filtered by its name) is completed:

{% highlight yaml %}
{% raw %}
Expand Down

0 comments on commit 82bb921

Please sign in to comment.