NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
950 stars 75 forks source link

Update triage workflow #130

Open leofang opened 1 month ago

leofang commented 1 month ago

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.)

leofang commented 1 month ago

@jollylili is this something you can help with? 🙂