Skip to content

Add a code of conduct, a security note, and issue and pull request templates - #4

Merged
bhargavchintam merged 1 commit into
mainfrom
refresh/2026-10-28-community-files
Oct 28, 2026
Merged

bhargavchintam merged 1 commit into
mainfrom
refresh/2026-10-28-community-files

Conversation

@bhargavchintam

Copy link
Copy Markdown
Owner

GitHub's community profile for this repo is at 57%: it has a README, a license, CONTRIBUTING.md and a description, but no code of conduct, issue templates or pull request template. Three good first issues are open, so this adds the missing pieces before someone picks one up.

Changes

  • CODE_OF_CONDUCT.md: four short rules, and how to report a problem by email.
  • SECURITY.md: says the repo runs no server, reads no secrets and makes no network calls, and asks for security problems by email, not in a public issue.
  • .github/ISSUE_TEMPLATE/new-kernel.yml: a "Propose a kernel" form (what the kernel computes and how the work is split, the NumPy reference, and whether it is CUDA, Triton or a reference only).
  • .github/ISSUE_TEMPLATE/wrong-result.yml: a "Report a wrong result" form (file, command and output, GPU, CUDA and Python versions).
  • .github/ISSUE_TEMPLATE/config.yml: keeps blank issues allowed.
  • .github/pull_request_template.md: Problem, Change and Testing sections; Testing asks for the reference's PASS line, the last line of check_all.py and the nvcc build command, plus the GPU and CUDA version if the kernel was run on a GPU.
  • README.md and CONTRIBUTING.md: one sentence each that links the code of conduct and the issue forms; CONTRIBUTING also points to SECURITY.md.

No kernel, reference or CI changes.

Testing

Before this change:

$ gh api repos/bhargavchintam/gpu-kernels/community/profile --jq .health_percentage
57

The two issue forms load as YAML:

$ python3 -c "import glob, yaml; [print(f, len(yaml.safe_load(open(f))['body']), 'fields') for f in sorted(glob.glob('.github/ISSUE_TEMPLATE/*-*.yml'))]"
.github/ISSUE_TEMPLATE/new-kernel.yml 4 fields
.github/ISSUE_TEMPLATE/wrong-result.yml 3 fields
$ git diff --stat main...HEAD | tail -n 1
 8 files changed, 93 insertions(+), 2 deletions(-)

GitHub only checks issue forms on the default branch, so the forms show up in the New issue menu after the merge.

@bhargavchintam
bhargavchintam merged commit ad29271 into main Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant