ProjectPythia/pythia-foundations

Create GitHub issue template to facilitate opening issues

Closed this issue · 6 comments

clyne commented

Not sure if this is the right repo for this issue, but we should explore creating an issue template to facilitate creating new issues. As a starting point, it might be useful to have templates for infrastructure and content (with labels "infrastructure" and "content")

cc @andersy005 , @kmpaul

I just finished setting this up over in https://github.com/ProjectPythia/.github. Every repo under ProjectPythia has the following issue templates (templates include some default labels):

Screen Shot 2021-03-11 at 3 02 10 PM

To apply labels after the fact (once the issue has been opened), I created a label manifest: https://github.com/ProjectPythia/.github/blob/main/.github/labels.yml that gets synced with individual repositories via a GitHub action: https://github.com/ProjectPythia/.github/blob/main/.github/workflows/labels.yml

Screen Shot 2021-03-11 at 3 00 33 PM

P.S Changes to the label manifest and issue templates must be made in the https://github.com/ProjectPythia/.github for changes to be applied to repositories under the GitHub organization.

clyne commented

This looks great @andersy005! Are there currently any label assignments? I opened a test "Content" issue, but didn't see a label applied.

Also, I'm not sure I understand what the "label manifests" does.

Also, I'm not sure I understand what the "label manifests" does.

I've defined a YAML file: https://github.com/ProjectPythia/.github/blob/main/.github/labels.yml that includes a list of labels. It's this file that I am calling "label manifest". I've added a GitHub action workflow that syncs these labels in this manifest file to repositories defined here.

Are there currently any label assignments? I opened a test "Content" issue, but didn't see a label applied.

I can confirm that the automatic label assignment isn't working. I will look into it.

@clyne, the automatic labelling of issues when creating issues from a template should now be resolved

clyne commented

Templates are enabled on all repos.