docs.carpentries.org icon indicating copy to clipboard operation
docs.carpentries.org copied to clipboard

Create Python script to populate repo with labels

Open maneesha opened this issue 7 months ago • 3 comments

maneesha avatar Apr 21 '25 12:04 maneesha

In the script I use to generate example repositories for GitHub skill-ups I have automated the process of populating a repository with these labels (first deleting GitHub's default labels, then adding our own).

@maneesha please take a look at that and let me know what questions I can answer to help you create a script we could link to from the handbook to help community members make use of our label set.

tobyhodges avatar May 30 '25 14:05 tobyhodges

Thanks @tobyhodges I will take a look at this. The intent is that lesson developers will run the script themselves, correct? That is, we only provide the script. We don't manage any services or automations to run the script on new repos.

maneesha avatar Jun 03 '25 14:06 maneesha

That's right. I believe the labels are added automatically to new lessons created from our two template repositories.

tobyhodges avatar Jun 03 '25 16:06 tobyhodges