Skip to content

zt4ff/auto-commenter

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Commenter

This actions helps you to automatically create a comment on each comment. The comment can be custom message you created, love messages and memes to spice up and make development fun

Love Texts

love_test

Memes

gifs

Custom Messages

custom-messages

Getting Started

Installation

name: Auto Commenter

on:
  push:

jobs:
  auto-comment-text:
    runs-on: ubuntu-latest
    steps:
      - uses: zt4ff/auto-commmenter@v2
        with:
          type: love_texts

Usage

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

Examples

love_texts

name: Auto Commenter

on:
  push:

jobs:
  auto-comment-text:
    runs-on: ubuntu-latest
    steps:
      - uses: zt4ff/auto-commmenter@v2
        with:
          type: love_texts

memes

name: Auto Commenter

on:
  push:

jobs:
  auto-comment-memes:
    runs-on: ubuntu-latest
    steps:
      - uses: zt4ff/auto-commmenter@v2
        with:
          type: memes

custom messages

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

Action inputs

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.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published