ci: update autofix workflows (#2521)
* chore: update py_autofix.yml workflow to run Ruff Check and Format * ci(js_autofix.yml): remove unnecessary pull request types to trigger workflow only on changes in src/frontend directory
This commit is contained in:
parent
a9f955d916
commit
fd9664fd51
2 changed files with 1 additions and 9 deletions
1
.github/workflows/js_autofix.yml
vendored
1
.github/workflows/js_autofix.yml
vendored
|
|
@ -2,7 +2,6 @@ name: autofix.ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
paths:
|
paths:
|
||||||
- "src/frontend/**"
|
- "src/frontend/**"
|
||||||
|
|
||||||
|
|
|
||||||
9
.github/workflows/py_autofix.yml
vendored
9
.github/workflows/py_autofix.yml
vendored
|
|
@ -1,7 +1,6 @@
|
||||||
name: autofix.ci
|
name: autofix.ci
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, auto_merge_enabled]
|
|
||||||
paths:
|
paths:
|
||||||
- "poetry.lock"
|
- "poetry.lock"
|
||||||
- "pyproject.toml"
|
- "pyproject.toml"
|
||||||
|
|
@ -12,14 +11,8 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: Run Mypy
|
name: Run Ruff Check and Format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version:
|
|
||||||
- "3.12"
|
|
||||||
- "3.11"
|
|
||||||
- "3.10"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: install-pinned/ruff@b52a71f70b28264686d57d1efef1ba845b9cec6c
|
- uses: install-pinned/ruff@b52a71f70b28264686d57d1efef1ba845b9cec6c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue