Skip to content
message-circle

GitHub Action

Comment on Issue

1.0.3 Latest version

Comment on Issue

message-circle

Comment on Issue

Comments on an issue with the provided message

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Comment on Issue

uses: ben-z/actions-comment-on-issue@1.0.3

Learn more about this action in ben-z/actions-comment-on-issue

Choose a version

Comment on Issues - GitHub Actions

A GitHub action that comments on issues with a given message. You can even put dynamic data thanks to Contexts and expression syntax.

Usage

name: issue-checklist

on:
  issues:
    types: [opened]

jobs:
  comment:
    runs-on: ubuntu-latest

    steps:
    - uses: ben-z/actions-comment-on-issue@1.0.2
      with:
        message: "Gentle reminder:\n* Did you go through all of the troubleshooting steps outlined in README.md?"
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Contributing

Build

The build steps transpiles the src/main.ts to lib/main.js which is used in the Docker container. It is handled by Typescript compiler.

$ npm run build