We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf17bc2 + aa61e76 commit 77ed81fCopy full SHA for 77ed81f
.github/workflows/lint-python.yaml
@@ -1,9 +1,7 @@
1
name: Lint Python code
2
on:
3
push:
4
- branches: [ "main", "dev" ]
5
- pull_request:
6
+ branches: [ "dev" ]
7
jobs:
8
lint:
9
runs-on: ubuntu-24.04
@@ -18,3 +16,10 @@ jobs:
18
16
isort $dirs --skip-glob '*/migrations/*'
19
17
black $dirs --exclude '/migrations/'
20
flake8 $dirs --exclude '*/migrations/*'
+ # Suggest merging any changes into the branch that ran this workflow
+ - 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