mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
👷 修改linting触发条件
This commit is contained in:
parent
89cbe5c51a
commit
64945fee1d
16
.github/workflows/linting.yml
vendored
16
.github/workflows/linting.yml
vendored
@ -4,14 +4,24 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
pull_request:
|
|
||||||
paths:
|
paths:
|
||||||
- "zhenxun/**"
|
- "zhenxun/**"
|
||||||
- "tests/**"
|
- "tests/**"
|
||||||
- ".github/workflows/ruff.yml"
|
|
||||||
- ".github/workflows/pyright.yml"
|
|
||||||
- "pyproject.toml"
|
- "pyproject.toml"
|
||||||
- "poetry.lock"
|
- "poetry.lock"
|
||||||
|
- ".github/workflows/pyright.yml"
|
||||||
|
- ".github/workflows/ruff.yml"
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
paths:
|
||||||
|
- "zhenxun/**"
|
||||||
|
- "tests/**"
|
||||||
|
- "pyproject.toml"
|
||||||
|
- "poetry.lock"
|
||||||
|
- ".github/workflows/pyright.yml"
|
||||||
|
- ".github/workflows/ruff.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ruff-call:
|
ruff-call:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user