[CI] fix race condition problem (#353)

fix race condition problem

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
wangxiyuan
2025-03-19 17:04:36 +08:00
committed by GitHub
parent 441a62e937
commit 663dca7578
7 changed files with 49 additions and 88 deletions

View File

@@ -18,17 +18,6 @@
name: ruff
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- 'main'
- '*-dev'
paths:
- "**/*.py"
- requirements-lint.txt
- .github/workflows/matchers/ruff.json
- .github/workflows/ruff.yml
pull_request:
branches:
- 'main'