mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
👷 移除重复触发
This commit is contained in:
parent
730805b31e
commit
7fcbf9c0d3
11
.github/workflows/pyright.yml
vendored
11
.github/workflows/pyright.yml
vendored
@ -2,16 +2,7 @@ name: Pyright Lint
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "*"
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "zhenxun/**"
|
|
||||||
- "tests/**"
|
|
||||||
- ".github/workflows/pyright.yml"
|
|
||||||
- "pyproject.toml"
|
|
||||||
- "poetry.lock"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
python-version:
|
python-version:
|
||||||
|
|||||||
12
.github/workflows/ruff.yml
vendored
12
.github/workflows/ruff.yml
vendored
@ -2,16 +2,6 @@ name: Ruff Lint
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "*"
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- "zhenxun/**"
|
|
||||||
- "tests/**"
|
|
||||||
- ".github/workflows/ruff.yml"
|
|
||||||
- "pyproject.toml"
|
|
||||||
- "poetry.lock"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ruff:
|
ruff:
|
||||||
@ -28,5 +18,3 @@ jobs:
|
|||||||
uses: astral-sh/ruff-action@v3
|
uses: astral-sh/ruff-action@v3
|
||||||
- name: Run Ruff Check
|
- name: Run Ruff Check
|
||||||
run: ruff check
|
run: ruff check
|
||||||
- name: Run Ruff Format
|
|
||||||
run: ruff format
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user