Hi, I'm not sure how possible this is -
I have the action running when the list of labels is changed or a label is created, deleted, or updated through the Github UI. If a user changes the name of a label through the UI, the action will delete that label and create a new one with the original name. The problem with this is that the renamed label will be removed from all issues/PRs. Ideally, you would want just the name to change and sort of follow the from_name: process, keeping the label on any issues/PRs it's placed on. However, this seems to be super difficult to detect what the label was changed from when updated through the UI so I'm not sure how possible this even is with an action.
If adding it to the action doesn't seem worthwhile/deems too difficult with what's there to work with I was wondering if you had any suggestions to overcome this? I was thinking I could trigger a different Github action if the label is updated through the UI versus when one is added/deleted. Thanks!
Hi, I'm not sure how possible this is -
I have the action running when the list of labels is changed or a label is created, deleted, or updated through the Github UI. If a user changes the name of a label through the UI, the action will delete that label and create a new one with the original name. The problem with this is that the renamed label will be removed from all issues/PRs. Ideally, you would want just the name to change and sort of follow the
from_name:process, keeping the label on any issues/PRs it's placed on. However, this seems to be super difficult to detect what the label was changed from when updated through the UI so I'm not sure how possible this even is with an action.If adding it to the action doesn't seem worthwhile/deems too difficult with what's there to work with I was wondering if you had any suggestions to overcome this? I was thinking I could trigger a different Github action if the label is updated through the UI versus when one is added/deleted. Thanks!