You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are in the process of replacing all references to labels in our workflows from specifying a label name (labelName) to specifying a label key (labelKey) instead. (Refer to issues # 6454 and # 5205 for the history) We need to extend this to our templates as well.
Details
To accomplish this, the suggestion is to replace all labels with a single placeholder label on each template- Template Label or similar. When an issue is created from a template and this label is found, first it should be removed*** and then the correct labels should be applied to the template issue. ***Will need to confirm, but there is possibility that an infinite loop could occur unless the trigger label is removed immediately.
Action Items
In issue-trigger.tml provide a workflow step similar to "Add-Feature-Branch-Comment" that checks whether the label == 'Template Label' and if so, runs a js script to replace this label with the correct set.
Write the js script noted
Prepare a reference file for making the subsititions
Apply the correct labels
Perform a test in your own repo that demonstrates that there is no change to the GHA's functionality after making the edits.
Overview
We are in the process of replacing all references to labels in our workflows from specifying a label name (
labelName
) to specifying a label key (labelKey
) instead. (Refer to issues # 6454 and # 5205 for the history) We need to extend this to our templates as well.Details
To accomplish this, the suggestion is to replace all labels with a single placeholder label on each template-
Template Label
or similar. When an issue is created from a template and this label is found, first it should be removed*** and then the correct labels should be applied to the template issue. ***Will need to confirm, but there is possibility that an infinite loop could occur unless the trigger label is removed immediately.Action Items
Resources/Instructions
The text was updated successfully, but these errors were encountered: