From 39f71530db78bb200e1b0b2df3eef0ae3b8394c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:47:36 -0600 Subject: [PATCH] chore: Add a bug report template (#412) --- .github/ISSUE_TEMPLATE/bug.yml | 67 +++++++++++++++++++++++++++++++ .github/workflows/ci_workflow.yml | 12 ++++++ 2 files changed, 79 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..c679fbf9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,67 @@ +name: Bug Report +description: File a bug report +title: "bug: " + +labels: + - bug + +assignees: + - edgarrmondragon + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: target_version + attributes: + label: Target Version + description: Version of the package you are using + placeholder: "0.0.10 on PyPI, 0.0.10 on GitHub, main branch, etc." + validations: + required: true + - type: dropdown + id: python_version + attributes: + label: Python Version + description: Version of Python you are using + options: + - "3.12" + - "3.11" + - "3.10" + - "3.9" + - "3.8" + - "NA" + validations: + required: true + - type: input + id: postgres_version + attributes: + label: PostgreSQL Version + description: Version of PostgreSQL the target is loading + placeholder: "15.1" + validations: + required: true + - type: input + id: os + attributes: + label: Operating System + description: What operating system you are using + placeholder: "Linux - Ubuntu 20.04" + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: Description + description: Describe what you were trying to get done + placeholder: Tell us what happened, what went wrong, and what you expected to happen + validations: + required: true + - type: input + id: slack_or_linen + attributes: + label: Link to Slack/Linen + description: Provide a link to the Slack or Linen conversation, if applicable + placeholder: "https://..." diff --git a/.github/workflows/ci_workflow.yml b/.github/workflows/ci_workflow.yml index 79cc9bd9..a77b9d14 100644 --- a/.github/workflows/ci_workflow.yml +++ b/.github/workflows/ci_workflow.yml @@ -3,8 +3,20 @@ name: Test target-postgres on: pull_request: types: [opened, synchronize, reopened] + paths: + - docker-compose.yml + - pyproject.toml + - poetry.lock + - targets_postgres/** + - .github/workflows/ci_workflow.yml push: branches: [main] + paths: + - docker-compose.yml + - pyproject.toml + - poetry.lock + - targets_postgres/** + - .github/workflows/ci_workflow.yml workflow_dispatch: inputs: {}