vegetables-school / send-relevant-comment-action

Send notifications of relevant issues and PR within the PR.
MIT License
0 stars 0 forks source link

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'