From 037157d4c2e70e075ff65d60ef09bf4fe9bbbde9 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 14 Apr 2026 12:12:05 +0100 Subject: [PATCH 1/2] chore: add GitHub community health files --- .github/CODEOWNERS | 1 + .github/ISSUE_TEMPLATE/bug_report.yml | 41 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 23 ++++++++++++ .github/ISSUE_TEMPLATE/maintainer-blank.yml | 10 +++++ .github/pull_request_template.md | 24 ++++++++++++ 6 files changed, 104 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/maintainer-blank.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..15e7d9f --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @PostHog/team-client-libraries diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..95199c3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,41 @@ +name: 🐞 Bug Report +description: Tell us about something that's not working the way we (probably) intend. +labels: ["bug"] +body: + + + - type: input + id: version + attributes: + label: Version + description: SDK Version + placeholder: 3.0.0 ← should look like this + validations: + required: true + + - type: textarea + id: repro + attributes: + label: Steps to Reproduce + description: How can we see what you're seeing? Specific is terrific. + placeholder: |- + 1. foo + 2. bar + 3. baz + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected Result + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual Result + description: Logs? Screenshots? Yes, please. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..64d359b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Ask in the forums + url: https://posthog.com/questions + about: A place to ask questions. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..3ae03e2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +name: 💡 Feature Request +description: Tell us about a problem our SDK could solve but doesn't. +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: Problem Statement + description: What problem could we solve that it doesn't? + placeholder: |- + I want to make whirled peas, but it doesn't blend. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Solution Brainstorm + description: We know you have bright ideas to share ... share away, friend. + placeholder: |- + Add a blender to it. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/maintainer-blank.yml b/.github/ISSUE_TEMPLATE/maintainer-blank.yml new file mode 100644 index 0000000..e120920 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/maintainer-blank.yml @@ -0,0 +1,10 @@ +name: Blank Issue +description: Blank Issue. Reserved for maintainers. +body: + - type: textarea + id: description + attributes: + label: Description + description: Please describe the issue. + validations: + required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..7e3457a --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,24 @@ +## :bulb: Motivation and Context + + + + +## :green_heart: How did you test it? + + +## :pencil: Checklist + + +- [ ] I reviewed the submitted code. +- [ ] I added tests to verify the changes. +- [ ] I updated the docs if needed. +- [ ] No breaking change or entry added to the changelog. + +### If releasing new changes + +- [ ] Updated `lib/posthog/version.rb` with the new version +- [ ] Updated `CHANGELOG.md` with the release notes and current date +- [ ] Added the `release` label to the PR +- [ ] A maintainer approved the GitHub `Release` environment + + From de1df0cf6f6209091e0848a49cbc08aff88c8332 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> Date: Tue, 14 Apr 2026 13:20:14 +0200 Subject: [PATCH 2/2] Apply suggestion from @marandaneto --- .github/pull_request_template.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 7e3457a..b992325 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -19,6 +19,5 @@ - [ ] Updated `lib/posthog/version.rb` with the new version - [ ] Updated `CHANGELOG.md` with the release notes and current date - [ ] Added the `release` label to the PR -- [ ] A maintainer approved the GitHub `Release` environment