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

Support using other labels as criteria #129

Open
bkimbrough88 opened this issue Feb 18, 2021 · 0 comments
Open

Support using other labels as criteria #129

bkimbrough88 opened this issue Feb 18, 2021 · 0 comments
Labels
feature request New feature or request to improve the current logic needs eyes

Comments

@bkimbrough88
Copy link

bkimbrough88 commented Feb 18, 2021

This action so far has been based on using the file path(s) to determine which labels to set, but would it be possible to also have it support labels that are already on the PR? My use case is that I want to add a label if the VERSION file has not been modified. However if the PR has the label skip-release, that file is no longer required to be modified, thus no additional labels should be produced.

One potential way for this to work would be something like this:

needs-version-bump:
  - all:
    - "!VERSION"
    - "!label:skip-release"
@MaksimZhukov MaksimZhukov added the feature request New feature or request to improve the current logic label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic needs eyes
Projects
None yet
Development

No branches or pull requests

2 participants