Skip to content

Commit

Permalink
test body-path
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 15, 2023
1 parent 1d2d3b9 commit bcb5c95
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/comment-body-addition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is still the second line.
2 changes: 2 additions & 0 deletions .github/comment-body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This is a multi-line test comment read from a file.
This is the second line.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,23 @@ jobs:
hooray
laugh
- name: Test create commit comment from file
uses: ./
id: cc2
with:
body-path: .github/comment-body.md
reactions: |
+1
- name: Test update commit comment from file
uses: ./
with:
comment-id: ${{ steps.cc2.outputs.comment-id }}
body-path: .github/comment-body-addition.md
append-separator: space
reactions: eyes, rocket
reactions-edit-mode: replace

package:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [test]
Expand Down

4 comments on commit bcb5c95

@github-actions
Copy link

@github-actions github-actions bot commented on bcb5c95 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a multi-line test comment

Edit: Some additional info

@github-actions
Copy link

@github-actions github-actions bot commented on bcb5c95 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a multi-line test comment read from a file.
This is the second line. This is still the second line.

@github-actions
Copy link

@github-actions github-actions bot commented on bcb5c95 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a multi-line test comment

Edit: Some additional info

@github-actions
Copy link

@github-actions github-actions bot commented on bcb5c95 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a multi-line test comment read from a file.
This is the second line. This is still the second line.

Please sign in to comment.