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

GitHub Action

recommend-mobpro-action

v0.0.1 Pre-release

recommend-mobpro-action

play

recommend-mobpro-action

recommend to do mob programming when a discussion drags on

Installation

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

              

- name: recommend-mobpro-action

uses: tnyo43/[email protected]

Learn more about this action in tnyo43/recommend-mobpro-action

Choose a version

recommend-mobpro-action

This is a GitHub Action that recommend developers to do mob programming or video chat rather than text chat if a discussion drags on.

how it works

usage

Create a new workflow under .github/workflows

name: 'recommend mobpro'
on:
  pull_request_review_comment:
    types: [created]
  issue_comment:
    types: [created]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  test-action:
    name: GitHub Actions Test
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write
    if: github.event_name != 'issue_comment' || github.event.issue.pull_request
    steps:
      - name: Checkout
        id: checkout
        uses: actions/checkout@v4
      - uses: tnyo43/recommend-mobpro-action
        with:
          threshold: 4 # customize this value as you like

options

threshold

A threshold at which a message is sent when the number of comments exceeds this. The default value is 25.