Skip to content

Commit 1ec19e8

Browse files
Update lint action
1 parent cf117d7 commit 1ec19e8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: "Lint"
22

33
on:
44
push:
5+
branches:
6+
- "main"
57
paths:
68
- "**.py" # Run if pushed commits include a change to a Python (.py) file.
79
- ".github/workflows/lint.yml" # Run if pushed commits include a change to a github actions workflow file.
810
- "pyproject.toml" # Run if project configuration file changes.
911
pull_request:
12+
branches:
13+
- "main"
1014
paths:
1115
- "**.py" # Run if pushed commits include a change to a Python (.py) file.
1216
- ".github/workflows/lint.yml" # Run if pushed commits include a change to a github actions workflow file.

0 commit comments

Comments
 (0)