Coder Social home page Coder Social logo

pr-reporter-slack's Introduction

typescript-action status

PR Reporter Slack

A github action that sends you slack messages when you have pull requests ready for review.

PR Reporter logo

Usage

1. Create Slack webhook

Add a incoming slack webhook by following the directions here: https://api.slack.com/messaging/webhooks#getting-started

PR Reporter will send messages to the slack channel you choose when setting up your webhook.

2. Add Slack webhook to github repo secrets

Add a new secret in your repo caled SLACK_WEBHOOK and make the value the url of the slack webhook you created earlier.

See: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets#creating-encrypted-secrets

3. Create .github/workflows/pr-reporter-slack.yml

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

name: PR Reporter

on:
  schedule:
    # Run this every day at 9am and 1pm
    - cron:  '0 9,13 * * *'

jobs:
  pr-reporter-slack:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: SeanReece/pr-reporter-slack@v1
      with: 
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

pr-reporter-slack's People

Contributors

seanreece avatar dependabot-preview[bot] avatar dependabot[bot] avatar devisscher avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.