Skip to content

Commit b49de6a

Browse files
only format main
1 parent fde3eeb commit b49de6a

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/formatting.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: Run Ruff formatter
22

3-
on: push
3+
on:
4+
push:
5+
branches: [main]
46

57
jobs:
6-
lint:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v4
10-
- uses: astral-sh/ruff-action@v3
11-
with:
12-
src: "./src"
8+
lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: astral-sh/ruff-action@v3
13+
with:
14+
src: "./src"

0 commit comments

Comments
 (0)