https://github.com/shield-wall/comments
https://github.com/shield-wall/comments
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shield-wall/comments
- Owner: shield-wall
- Created: 2023-03-24T17:33:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-06T12:12:37.000Z (about 3 years ago)
- Last Synced: 2025-09-21T04:48:13.391Z (10 months ago)
- Language: TypeScript
- Size: 228 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Comments
========
this lib will be used to add comments in github
- [x] discussion
- [ ] issues
- [ ] pull requests
### Usage
```yaml
- name: Comment in discussion
uses: shield-wall/comments@0.0.2
with:
organization: 'shield-wall'
repository: 'myprofile'
discussionId: 123
body: |
This is a multi-line test comment
- With GitHub **Markdown** :sparkles:
- Created by [shield-wall/comments][link1]
[link1]: https://github.com/shield-wall/comments
```
You can also use body file
### FILES ARE NOT WORKING YET.
```yaml
- name: Comment in discussion
uses: shield-wall/comments@0.0.2
with:
organization: 'shield-wall'
repository: 'myprofile'
discussionId: 123
bodyFileHeader: ./your_file.md #optional
#optional
body: |
This is a multi-line test comment
- With GitHub **Markdown** :sparkles:
- Created by [shield-wall/comments][link1]
[link1]: https://github.com/shield-wall/comments
bodyFileFooter: ./your_file_2.md #optional
```