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

Documentation: Describe how to label if _any_ file in the repository has changed or to _every_ PR #526

Closed
ejether opened this issue Mar 23, 2023 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@ejether
Copy link

ejether commented Mar 23, 2023

Description:
I'm using Labeler to add a default label to every opened PR. I've been unable to devise a set of globs that have reliably done what I needed. I've tried a handful of things that did work sometimes but not on every pr.

norelease:
  - any: [ '**/*','.*/*','*' ]
norelease:
  - './**/*'
  - './.*/*'
  - './*'
norelease:
  - '**/*'
  - '.*/*'
  - '*'

I'd like to know what to do to label every pr with a label

Justification:
I'm using the action to put a default label on every PR that affect downstream actions. The user could add the label manually and that's the work around but since in this repository, the label is always the same, I'd like to have it JustWork™ for my team.

Are you willing to submit a PR?
Sure, if it comes to that

@ejether ejether added feature request New feature or request to improve the current logic needs triage labels Mar 23, 2023
@panticmilos
Copy link
Contributor

hi @ejether, thank you for the report, we will take a look at it :)

@MaksimZhukov
Copy link
Contributor

Hello @ejether!
We added examples to match all repo files in scope of this pull request.
I am closing the issue. Please contact us if you have any questions.

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
Projects
None yet
Development

No branches or pull requests

3 participants