imjohnbo / issue-bot

GitHub Actions powered Issue Bot 🦾
https://github.com/imjohnbo/issue-bot
MIT License
101 stars 31 forks source link

first time run with close-previous: true #45

Closed TurtleTT closed 3 years ago

TurtleTT commented 3 years ago

I want to use your Github action to create Issues for some tests after a deployment process. After each release I want to close the old issues. If there is no issue yet (on the first release), I logically get the error: Couldn't find previous issue with labels. Would it be possible not to throw an error if there is no issue with these labels yet?

imjohnbo commented 3 years ago

That seems reasonable 👍 I'm open to PRs until I can get to it 🙂

imjohnbo commented 3 years ago

Thanks for the report, @TurtleTT. A fix is available in the latest release on v3.3.1, v3.0, v3 🚀.