forked from mitmproxy/mitmproxy
-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (32 loc) · 862 Bytes
/
autofix.yml
File metadata and controls
40 lines (32 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: autofix.ci
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version-file: .github/python-version.txt
- run: pip install -e .[dev]
- run: ruff check --fix-only .
- run: ruff format .
- run: web/gen/all
- uses: actions/setup-node@v4
with:
node-version-file: .github/node-version.txt
- run: npm ci
working-directory: web
- run: npm run eslint
working-directory: web
continue-on-error: true
- run: npm run prettier
working-directory: web
- uses: mhils/add-pr-ref-in-changelog@main
- uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a