Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add condition according to label #57

Open
acepaceNS opened this issue Feb 7, 2022 · 3 comments
Open

Add condition according to label #57

acepaceNS opened this issue Feb 7, 2022 · 3 comments

Comments

@acepaceNS
Copy link

Not sure if there's an alternative option

Would you be open a PR adding option to add reviewers according to labels?

@gdegirmenci
Copy link

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

@necojackarc
Copy link
Owner

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.

@bnb
Copy link

bnb commented Mar 3, 2022

supporting labels would potentially unlock a use case I have for this 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants