Skip to content

Latest commit

 

History

History
 
 

post-comment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Post comment GitHub Action

An action that simply posts a new comment on given issue with specified content.

Usage

bot_body input will be used as comment body if GITHUB_ACTOR environment variable equals bot input. Otherwise body input is used.

- name: Post comment
  uses: Homebrew/actions/post-comment@master
  with:
    token: ${{secrets.HOMEBREW_GITHUB_API_TOKEN}}
    issue: 123
    body: ${{github.actor}} has triggered this workflow.
    bot_body: BrewTestBot has triggered this workflow.
    bot: BrewTestBot