Skip to content

Commit 5e4dabe

Browse files
authored
Rename code quality and add commit of linting fixes
1 parent 014a089 commit 5e4dabe

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
name: Auto Format and Lint
1+
name: Code Quality
22

33
on:
44
pull_request:
55
push:
66
branches:
77
- main
8-
merge_group:
98

109
jobs:
11-
autoformat-and-lint:
12-
name: Auto Format and Lint
10+
code-quality
11+
name: Code Quality
1312
if: github.actor != 'dependabot[bot]'
1413
runs-on: ubuntu-latest
1514
permissions:
@@ -34,15 +33,22 @@ jobs:
3433
- name: 📝 Format Code
3534
run: hatch fmt -f
3635

37-
- name: ✅ Commit code format changes
36+
- name: ✅ Commit Code Format Changes
3837
uses: stefanzweifel/git-auto-commit-action@v5
3938
with:
40-
commit_message: "Auto format code"
39+
commit_message: "Format code"
4140
skip_fetch: true
4241
skip_checkout: true
4342

4443
- name: 🧶 Lint
4544
run: hatch fmt --check
4645

46+
- name: ✅ Commit Code Linting Changes
47+
uses: stefanzweifel/git-auto-commit-action@v5
48+
with:
49+
commit_message: "Lint code"
50+
skip_fetch: true
51+
skip_checkout: true
52+
4753
- name: 🔍 Type Check
4854
run: hatch run check

0 commit comments

Comments
 (0)