label-actions icon indicating copy to clipboard operation
label-actions copied to clipboard

feat: Add reviewer assign action

Open toshimaru opened this issue 4 years ago • 2 comments

Description

This PR adds a feature which enables label-actions to assign reviewer(s) from the configuration.

Setting example

'review request label':
  prs:
    reviewers:
      - toshimaru
      - ...
    number-of-reviwers: 1

toshimaru avatar Jul 04 '21 05:07 toshimaru

@toshimaru this is great Can I use your fork of this?

acepaceNS avatar Aug 16 '21 13:08 acepaceNS

@acepaceNS I've released my fork version of label-actions. You can use this :)

name: 'Label Actions'

on:
  pull_request:
    types: [labeled, unlabeled]

jobs:
  job:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - uses: toshimaru/[email protected]
        with:
          github-token: ${{ github.token }}
          process-only: 'prs'

toshimaru avatar Aug 27 '21 00:08 toshimaru