From 3cf8362b5978ba027919ac000db6ed3ef6e01c0a Mon Sep 17 00:00:00 2001 From: Rahil Date: Tue, 22 Sep 2026 14:07:36 -0500 Subject: [PATCH] ci: add GitHub Actions CI, issue templates, and PR template - Python lint workflow (ruff) - Bug report and feature request issue templates - PR template Co-authored-by: Rahil Sheth --- .github/ISSUE_TEMPLATE/bug_report.md | 13 +++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 11 +++++++++++ .github/pull_request_template.md | 11 +++++++++++ .github/workflows/ci.yml | 20 ++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/ci.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..4ff0113 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,13 @@ +--- +name: Bug report +about: Something broken +labels: bug +--- + +**What happened:** + +**Expected:** + +**Steps to reproduce:** + +**Environment (OS, browser/version):** diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..70ad272 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,11 @@ +--- +name: Feature request +about: Suggest an idea +labels: enhancement +--- + +**Problem / motivation:** + +**Proposed solution:** + +**Alternatives considered:** diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..99d7996 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,11 @@ +## What + + + +## Why + + + +## Test plan + + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a24d9b2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + lint-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + cache: pip + - run: pip install -r requirements.txt + - run: pip install ruff + - run: ruff check src/ scripts/ --select E,F,W --ignore E501