Skip to content

Commit 77ed81f

Browse files
committed
Merge remote-tracking branch 'origin/main' into dev-main-merge
2 parents cf17bc2 + aa61e76 commit 77ed81f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/lint-python.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Lint Python code
22
on:
33
push:
4-
branches: [ "main", "dev" ]
5-
pull_request:
6-
branches: [ "main", "dev" ]
4+
branches: [ "dev" ]
75
jobs:
86
lint:
97
runs-on: ubuntu-24.04
@@ -18,3 +16,10 @@ jobs:
1816
isort $dirs --skip-glob '*/migrations/*'
1917
black $dirs --exclude '/migrations/'
2018
flake8 $dirs --exclude '*/migrations/*'
19+
# Suggest merging any changes into the branch that ran this workflow
20+
- name: Create Pull Request
21+
# https://github.com/marketplace/actions/create-pull-request
22+
uses: peter-evans/create-pull-request@v7
23+
with:
24+
body: "Python code reformatted with black and isort"
25+
branch: "chore/python-formatting"

0 commit comments

Comments
 (0)