Right now we add the triage label whenever an issue is opened or reopened
https://github.com/NVIDIA/cuda-python/blob/e1e332564c48db556212d59262a149b1a63285e8/.github/workflows/triagelabel.yml#L2-L6
but it could be cumbersome if an issue is created by a team member who already knows the issue categories and can add the label at issue creation time. We need a slightly more sophisticated check, e.g. if an issue already has nonzero labels, before adding the triage label. (In order to ensure this logic works, we should also disable external contributors' ability to tag any label themselves.)
Right now we add the
triage
label whenever an issue is opened or reopened https://github.com/NVIDIA/cuda-python/blob/e1e332564c48db556212d59262a149b1a63285e8/.github/workflows/triagelabel.yml#L2-L6 but it could be cumbersome if an issue is created by a team member who already knows the issue categories and can add the label at issue creation time. We need a slightly more sophisticated check, e.g. if an issue already has nonzero labels, before adding the triage label. (In order to ensure this logic works, we should also disable external contributors' ability to tag any label themselves.)