Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

🤖 Use basecamp chatbots to notify when a PR are ready to review

License

Notifications You must be signed in to change notification settings

pmqueiroz/basecamp-ready-for-review

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basecamp Pull Request Ready for Review Notifier

Use basecamp chatbots to notify when a PR are ready to review

Setup

  • Create a chatbot on your basecamp follows this article

  • Add your chatbot key to github secret. Click on Settings > Secrets

  • Create .github/workflows/main.yml file and follows the usage below

Basic Usage

on:
   pull_request:
      types: [ready_for_review]
name: Basecamp RfR Notify
jobs:
   notifyBasecamp:
      name: Notify Basecamp
      runs-on: ubuntu-latest
      steps:
      - uses: actions/checkout@v2
      - name: Notify Basecamp
        uses: pmqueiroz/basecamp-ready-for-review@v2
        env:
           BASECAMP_CHATBOT_SECRET: ${{ secrets.BASECAMP_CHATBOT_KEY }}
        with:
           # https://3.basecampapi.com/ACCOUNT_ID/integrations/BASECAMP_CHATBOT_SECRET/buckets/BUCKET_ID/chats/CHAT_ID/lines.json
           account_id: "7777777"
           bucket_id: "7777777"
           chat_id: "7777777"

Notify PR Opened

on:
   pull_request:
      types: [ready_for_review, opened]
name: Basecamp RfR Notify
jobs:
   notifyBasecamp:
      name: Notify Basecamp
      runs-on: ubuntu-latest
      steps:
      - uses: actions/checkout@v2
      - name: Notify Basecamp
        uses: pmqueiroz/basecamp-ready-for-review@v2
        env:
           BASECAMP_CHATBOT_SECRET: ${{ secrets.BASECAMP_CHATBOT_KEY }}
        with:
           # https://3.basecampapi.com/ACCOUNT_ID/integrations/BASECAMP_CHATBOT_SECRET/buckets/BUCKET_ID/chats/CHAT_ID/lines.json
           account_id: "7777777"
           bucket_id: "7777777"
           chat_id: "7777777"
           notify_open: true # default: false
           notify_open_when_draft: false # default: false

About

🤖 Use basecamp chatbots to notify when a PR are ready to review

Resources

License

Stars

Watchers

Forks

Packages

No packages published