name: Auto Commenter
on:
push:
jobs:
auto-comment-text:
runs-on: ubuntu-latest
steps:
- uses: zt4ff/auto-commmenter@v2
with:
type: love_texts
When a commit is pushed to the remote repository, this actions create a comment on each commit sha or hash.
The above installation code will auto comment a love test.
Currently, they are three type of comment actions: love_texts
, memes
and custom
name: Auto Commenter
on:
push:
jobs:
auto-comment-text:
runs-on: ubuntu-latest
steps:
- uses: zt4ff/auto-commmenter@v2
with:
type: love_texts
name: Auto Commenter
on:
push:
jobs:
auto-comment-memes:
runs-on: ubuntu-latest
steps:
- uses: zt4ff/auto-commmenter@v2
with:
type: memes
name: Auto Commenter
on:
push:
jobs:
auto--custom-comment:
runs-on: ubuntu-latest
steps:
- uses: zt4ff/auto-commmenter@v2
with:
type: custom
body: |
This is custom message
It's multiline and it also support github markdown.
- list item 1
- llist item 2
Name | Description | Default |
---|---|---|
type |
(required) The type of comment the action should give. Includes love_texts , memes , or custom |
love_texts |
token |
(optional) GITHUB_TOKEN or a repo scoped PAT. |
GITHUB_TOKEN |
repository |
(optional) The full name of the target repository. | github.repository (current repository) |
sha |
(optional) The commit SHA. | github.sha OR, for pull_request events github.event.pull_request.head.sha |
body |
(optional) The contents of the comment if type is custom . |