Open thekaushikls opened 1 year ago
Hello @thekaushikls π
The problem here is how I parse the statuses
.
const statuses = core.getInput('statuses').split(',');
So in your case the action is looking for statuses
who start with an empty space (except the first one)
The quick fix for you is just to remove the space after the comma.
statuses: 𧱠Planning,π Backlog...
But you are right that
statuses:
- 𧱠Planning
- π Backlog
seems neater.
So if I find time, I'll update the code to support this structure.
Edit: I updated the README: https://github.com/blombard/move-to-next-iteration/commit/1eedfb048afab55d6c7f25a9884ce97d56e738f9
Hi, thanks for suggesting to remove the white-spaces. I removed the emojis as a temp fix, will try your method.
Also, I dont think it is common practice to name something that starts with a whitespace. I think just trim()
should do the trick.
While working on a PR for #5, I experimented with the idea of making statuses
an array and discovered that action inputs cannot be arrays. In other words, as far as I can tell this doesnβt work:
statuses:
- Planning
- Backlog
Hi, thank you for your GitHubAction, it has been super helpful. I have been playing around with it for sometime now.
I noticed that in one of my projects, I have the
Status
name contain emoji, and that seems to not be supported.In the below image, I am updating some of the statuses. But, only the first one (𧱠Planning) seems to be updated. Depending on the order, only the first status gets updated.
Is there a specific way to include names with emoji?
Can I do something like this?