Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
calendar

GitHub Action

Open Pull Requests Notifier

v1.0.0

Open Pull Requests Notifier

calendar

Open Pull Requests Notifier

Posts a message on slack with the list of open pull requests

Installation

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

              

- name: Open Pull Requests Notifier

uses: leopic/gh-action-open-pr-slack-parser@v1.0.0

Learn more about this action in leopic/gh-action-open-pr-slack-parser

Choose a version

Linting and Unit Tests

GitHub Open PR list Slack Block Parser

A GitHub action, meant to be run on a schedule, to list all open pull requests on a GitHub repository.

Usage

name: Verify All Open Pull Requests

on:
  schedule:
    - cron: "0 9 * 1-5 *"

jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - name: Get PR list
        uses: leopic/gh-action-open-pr-notifier@v1.0.0
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          slackbot-token: YOUR_SLACKBOT_TOKEN
          slack-conversation-id: YOUR_CHANNEL_ID

Output example

The output is similar to: Usage example when integrated into Slack