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

Don't fail when "from_name" cannot be found. #111

Closed
docwhat opened this issue Sep 23, 2020 · 1 comment
Closed

Don't fail when "from_name" cannot be found. #111

docwhat opened this issue Sep 23, 2020 · 1 comment

Comments

@docwhat
Copy link

docwhat commented Sep 23, 2020

if you set from_name but nothing matches it, then it raises and error instead of creating a new label (as if you had not set from_name).

As an example, if you setup this:

  name: ":pray: help wanted"
  color: "4caf50"
  description: "Extra attention is needed"
  from_name: "help wanted"

... but someone deleted "help wanted", then this action fails with:

Error: ❌ Label 'help wanted' not found. Cannot rename

This is merely annoying at the moment, but if #3 or #9 are completed (or if you have scripts that propagate GitHub configurations to multiple repositories) then this is a must have.

@crazy-max
Copy link
Owner

@docwhat Done, thanks for your input!

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

No branches or pull requests

2 participants