auto-request-review
auto-request-review copied to clipboard
Add condition according to label
Not sure if there's an alternative option
Would you be open a PR adding option to add reviewers according to labels?
as far I see, there's no such a feature -yet. but what you could do, conditionally, you could run the specific step based on the label you are looking for.
name: CI
on:
pull_request:
types: [labeled]
jobs:
build:
if: ${{ github.event.label.name == 'BUG' }}
runs-on: ubuntu-latest
Yeah, if what @acepaceNS meant is that you'd like to use different sets of reviewers for each level, this action doesn't support that feature for now.
supporting labels would potentially unlock a use case I have for this 👍🏻