Skip to content

Commit a8c538a

Browse files
authored
Create autopep8.yml
1 parent 59b6be3 commit a8c538a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/autopep8.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Format python code
2+
on: push
3+
jobs:
4+
autopep8:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: autopep8
9+
uses: peter-evans/autopep8@v1
10+
with:
11+
args: --recursive --in-place --aggressive --aggressive .
12+
- name: Create Pull Request
13+
uses: peter-evans/create-pull-request@v2
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
commit-message: autopep8 action fixes
17+
committer: Peter Evans <peter-evans@users.noreply.github.com>
18+
title: Fixes by autopep8 action
19+
body: This is an auto-generated PR with fixes by autopep8.
20+
labels: autopep8, automated pr
21+
reviewers: peter-evans
22+
branch: autopep8-patches
23+
24+

0 commit comments

Comments
 (0)