Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Bug report
description: Report a defect in English.
title: ""
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Write in English. Do not include secrets, credentials, or private URLs.
- type: textarea
id: context
attributes:
label: Context
description: What were you doing? Include the version, commit, or environment.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected
description: What did you expect to happen?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual
description: What happened instead?
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Reproduce
description: Exact steps, commands, or a minimal reproduction.
validations:
required: true
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Feature request
description: Propose a change in English.
title: ""
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Write in English. Describe the problem before the solution.
- type: textarea
id: problem
attributes:
label: Problem
description: What problem are you trying to solve?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: What should change?
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives
description: What else did you consider?
validations:
required: true
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Summary

What changes and why. Write in English.

## Changes

- concrete edit
- concrete edit

## Testing

The exact commands run and their result.

## Issues

Closes #123

## Checklist

- [ ] The title follows Conventional Commits and matches the commit subject.
- [ ] The body is written in English.
- [ ] Tests were run and the result is stated above.
- [ ] Human-facing documents are paired with `.zh-CN.md` and open with the language switcher.
- [ ] No secrets, credentials, or private URLs are included.
- [ ] `Closes` is used only when the pull request fully resolves the issue.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ concurrency:

jobs:
test:
name: test (${{ matrix.python-version }})
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -54,3 +55,12 @@ jobs:
run: |
pip install --upgrade build
python -m build

gate:
name: test
needs: test
runs-on: ubuntu-22.04
steps:
- name: Confirm all matrix jobs passed
run: echo "All test matrix jobs passed."

Loading