Skip to content

Commit d597867

Browse files
author
Lorena Mesa
committed
Move GitHub linter action to proper directory
1 parent 31e452b commit d597867

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Lint and Commit
2+
on: push
3+
4+
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-python@v3
10+
- uses: chartboost/ruff-action@v1
11+
with:
12+
args: --check .
13+
fix_args: --fix .
14+
config: .ruff.toml
15+
- uses: stefanzweifel/git-auto-commit-action@v4
16+
with:
17+
commit_message: 'Applied linter fixes by ruff'

0 commit comments

Comments
 (0)