Skip to content

Commit

Permalink
add autopep8 action
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Jul 26, 2022
1 parent 8bb335e commit 464446d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint script

on:
push:
paths-ignore:
- 'README.md'
branches:
- "main"

jobs:
autopep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: autopep8
uses: peter-evans/autopep8@v1
with:
args: --recursive --in-place --aggressive --aggressive .

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Lint script with autopep8
title: Lint script with autopep8
body: This is an auto-generated PR linted by autopep8.
labels: autopep8, automated pr, lint
reviewers: itsnebulalol
branch: lint

0 comments on commit 464446d

Please sign in to comment.