Skip to content
message-square

GitHub Action

vegetables-school/send-relevant-comment-action

v1.0.4 Latest version

vegetables-school/send-relevant-comment-action

message-square

vegetables-school/send-relevant-comment-action

Send comment of relevant issues and PR within the PR

Installation

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

              

- name: vegetables-school/send-relevant-comment-action

uses: vegetables-school/send-relevant-comment-action@v1.0.4

Learn more about this action in vegetables-school/send-relevant-comment-action

Choose a version

send-relevant-comment-action

It is used to collect links in pr or issues that contain other links that exist on github.

alt text

Usage

Can be used in the following scenarios (but not just this one)

name: Send Relevant Comment
on:
  pull_request:
    types: [closed]

permissions:
  pull-requests: write
  issues: write

jobs:
  version:
    # if: github.event.pull_request.merged == true
    timeout-minutes: 15
    runs-on: ubuntu-latest
    steps:
      - name: send relevant comment
        uses: vegetables-school/send-relevant-comment-action@main
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          custom-comment: 'Hello, this is a custom comment'