Skip to content

Commit d1b98c5

Browse files
authored
Create autopep8.yml
1 parent 81e4793 commit d1b98c5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/autopep8.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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@v3
14+
with:
15+
commit-message: autopep8 action fixes
16+
title: Fixes by autopep8 action
17+
body: This is an auto-generated PR with fixes by autopep8.
18+
labels: autopep8, automated pr
19+
reviewers: rohanpsingh
20+
branch: autopep8-patches

0 commit comments

Comments
 (0)