diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index dc01479..1a21d8a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,3 +1,12 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + ## Problem Describe what is broken. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..dce721c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,31 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +## Goal + +Describe what should be achieved. + +## Why + +Explain why this task is useful for the project. + +## Scope + +- +- +- + +## Acceptance criteria + +- [ ] +- [ ] +- [ ] + +> [!NOTE] +> Priority: diff --git a/.github/workflows/commit-message.yml b/.github/workflows/commit-message.yml index 6ce4f57..c0e810b 100644 --- a/.github/workflows/commit-message.yml +++ b/.github/workflows/commit-message.yml @@ -23,7 +23,7 @@ jobs: - name: Validate commit message shell: bash run: | - pattern='^((feat|fix|docs|style|refactor|test|chore|ci|build|perf)\(#[0-9]+\): .{1,50}|chore\(deps\): .{1,72})$' + pattern='^((feat|fix|docs|style|refactor|test|chore|ci|build|perf)\(#[0-9]+\): .{1,72}|chore\(deps\): .{1,72})$' invalid=0 while IFS= read -r commit_message; do @@ -44,9 +44,14 @@ jobs: echo "" echo "Expected format:" echo " feat(#1): add feature" - echo " chore(#5): add a file to .gitignore" + echo " chore(#5): add file to .gitignore" + echo " ci(#3): validate commit messages" + echo " chore(deps): update dependencies" echo "" echo "Allowed types:" echo " feat, fix, docs, style, refactor, test, chore, ci, build, perf" + echo "" + echo "Special dependency format:" + echo " chore(deps): message" exit 1 fi diff --git a/.gitignore b/.gitignore index 9a1d8a1..973c350 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ __pycache__ .ruff_cache # Virtual environment -.env \ No newline at end of file +.env +.venv \ No newline at end of file