14 changed files with 14 additions and 281 deletions
@ -1,32 +0,0 @@ |
|||||
--- |
|
||||
name: Bug report |
|
||||
about: Create a report to help us improve |
|
||||
title: '' |
|
||||
labels: '' |
|
||||
assignees: '' |
|
||||
|
|
||||
--- |
|
||||
|
|
||||
Please describe your issue **in English** |
|
||||
|
|
||||
*Note: Small LLMs cannot perform well at prompt following, and are prone to hallucinations. Please make sure your LLM is cutting-edge, preferably a reasoning model, e.g. OpenAI o-series, DeepSeek R1, Claude 3.7 Sonnet etc.* |
|
||||
|
|
||||
**Describe the bug** |
|
||||
A clear and concise description of what the bug is. |
|
||||
|
|
||||
**To Reproduce** |
|
||||
Steps to reproduce the behavior: |
|
||||
|
|
||||
**Expected behavior** |
|
||||
A clear and concise description of what you expected to happen. |
|
||||
|
|
||||
**Screenshots** |
|
||||
If applicable, add screenshots to help explain your problem. |
|
||||
|
|
||||
**Environment (please complete the following information):** |
|
||||
- OS: [e.g. MacOS] |
|
||||
- pip dependencies |
|
||||
- Version [e.g. 0.0.1] |
|
||||
|
|
||||
**Additional context** |
|
||||
Add any other context about the problem here. |
|
@ -1,22 +0,0 @@ |
|||||
--- |
|
||||
name: Feature request |
|
||||
about: Suggest an idea for this project |
|
||||
title: '' |
|
||||
labels: '' |
|
||||
assignees: '' |
|
||||
|
|
||||
--- |
|
||||
|
|
||||
Please describe your suggestion **in English**. |
|
||||
|
|
||||
**Is your feature request related to a problem? Please describe.** |
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] |
|
||||
|
|
||||
**Describe the solution you'd like** |
|
||||
A clear and concise description of what you want to happen. |
|
||||
|
|
||||
**Describe alternatives you've considered** |
|
||||
A clear and concise description of any alternative solutions or features you've considered. |
|
||||
|
|
||||
**Additional context** |
|
||||
Add any other context or screenshots about the feature request here. |
|
@ -1,34 +0,0 @@ |
|||||
misc: |
|
||||
- branch: &BRANCHES |
|
||||
# In this pull request, the changes are based on the main branch |
|
||||
- &MASTER_BRANCH base=main |
|
||||
|
|
||||
- name: Label bug fix PRs |
|
||||
conditions: |
|
||||
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES |
|
||||
- or: *BRANCHES |
|
||||
- 'title~=^fix:' |
|
||||
actions: |
|
||||
label: |
|
||||
add: |
|
||||
- kind/bug |
|
||||
|
|
||||
- name: Label feature PRs |
|
||||
conditions: |
|
||||
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES |
|
||||
- or: *BRANCHES |
|
||||
- 'title~=^feat:' |
|
||||
actions: |
|
||||
label: |
|
||||
add: |
|
||||
- kind/feature |
|
||||
|
|
||||
- name: Label enhancement PRs |
|
||||
conditions: |
|
||||
# branch condition: in this pull request, the changes are based on any branch referenced by BRANCHES |
|
||||
- or: *BRANCHES |
|
||||
- 'title~=^enhance:' |
|
||||
actions: |
|
||||
label: |
|
||||
add: |
|
||||
- kind/enhancement |
|
@ -1,20 +0,0 @@ |
|||||
name: "Run Docs CD with UV" |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
branches: |
|
||||
- "main" |
|
||||
- "master" |
|
||||
paths: |
|
||||
- 'docs/**' |
|
||||
- 'mkdocs.yml' |
|
||||
- '.github/workflows/docs.yml' |
|
||||
|
|
||||
jobs: |
|
||||
build-deploy-docs: |
|
||||
if: github.repository == 'zilliztech/deep-searcher' |
|
||||
uses: ./.github/workflows/docs.yml |
|
||||
with: |
|
||||
deploy: true |
|
||||
permissions: |
|
||||
contents: write |
|
@ -1,24 +0,0 @@ |
|||||
name: "Run Docs CI with UV" |
|
||||
|
|
||||
on: |
|
||||
pull_request: |
|
||||
types: [opened, reopened, synchronize] |
|
||||
paths: |
|
||||
- 'docs/**' |
|
||||
- 'mkdocs.yml' |
|
||||
- '.github/workflows/docs.yml' |
|
||||
push: |
|
||||
branches: |
|
||||
- "**" |
|
||||
- "!gh-pages" |
|
||||
paths: |
|
||||
- 'docs/**' |
|
||||
- 'mkdocs.yml' |
|
||||
- '.github/workflows/docs.yml' |
|
||||
|
|
||||
jobs: |
|
||||
build-docs: |
|
||||
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'zilliztech/deep-searcher') }} |
|
||||
uses: ./.github/workflows/docs.yml |
|
||||
with: |
|
||||
deploy: false |
|
@ -1,27 +0,0 @@ |
|||||
on: |
|
||||
workflow_call: |
|
||||
inputs: |
|
||||
deploy: |
|
||||
type: boolean |
|
||||
description: "If true, the docs will be deployed." |
|
||||
default: false |
|
||||
|
|
||||
jobs: |
|
||||
run-docs: |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- uses: actions/checkout@v4 |
|
||||
|
|
||||
- name: Install uv |
|
||||
uses: astral-sh/setup-uv@v5 |
|
||||
- name: Install dependencies |
|
||||
run: | |
|
||||
uv sync --all-extras --dev |
|
||||
source .venv/bin/activate |
|
||||
|
|
||||
- name: Build docs |
|
||||
run: uv run mkdocs build --verbose --clean |
|
||||
|
|
||||
- name: Build and push docs |
|
||||
if: inputs.deploy |
|
||||
run: uv run mkdocs gh-deploy --force |
|
@ -1,37 +0,0 @@ |
|||||
#git tag v0.x.x # Must be same as the version in pyproject.toml |
|
||||
#git push --tags |
|
||||
|
|
||||
name: Publish Python Package to PyPI |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
tags: |
|
||||
- "v*" |
|
||||
|
|
||||
jobs: |
|
||||
publish: |
|
||||
name: Publish to PyPI |
|
||||
runs-on: ubuntu-latest |
|
||||
environment: pypi |
|
||||
|
|
||||
permissions: |
|
||||
id-token: write |
|
||||
contents: read |
|
||||
|
|
||||
steps: |
|
||||
- name: Checkout code |
|
||||
uses: actions/checkout@v4 |
|
||||
|
|
||||
- name: Set up Python |
|
||||
uses: actions/setup-python@v5 |
|
||||
with: |
|
||||
python-version: "3.10" |
|
||||
|
|
||||
- name: Install build tools |
|
||||
run: python -m pip install build |
|
||||
|
|
||||
- name: Build package |
|
||||
run: python -m build |
|
||||
|
|
||||
- name: Publish to PyPI |
|
||||
uses: pypa/gh-action-pypi-publish@release/v1 |
|
@ -1,25 +0,0 @@ |
|||||
name: Ruff |
|
||||
on: |
|
||||
push: |
|
||||
branches: [ main, master ] |
|
||||
pull_request: |
|
||||
jobs: |
|
||||
build: |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- uses: actions/checkout@v4 |
|
||||
|
|
||||
- name: Install uv |
|
||||
uses: astral-sh/setup-uv@v5 |
|
||||
- name: Install the project |
|
||||
run: | |
|
||||
uv sync --all-extras --dev |
|
||||
source .venv/bin/activate |
|
||||
|
|
||||
- name: Run Ruff |
|
||||
run: | |
|
||||
uv run ruff format --diff |
|
||||
uv run ruff check |
|
||||
|
|
||||
# - name: Run tests |
|
||||
# run: uv run pytest tests |
|
Loading…
Reference in new issue