Gradience/.github/workflows/autopep8.yml
2022-08-19 20:38:55 +02:00

24 lines
784 B
YAML

name: Format python code
on:
push:
branch: [ "main" ]
workflow_dispatch:
jobs:
autopep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: autopep8
uses: peter-evans/autopep8@v1
with:
args: --recursive --in-place --aggressive --aggressive .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: "ci: autopep8 action fixes"
title: Fixes by autopep8 action
body: This is an auto-generated PR with fixes by autopep8.
labels: autopep8, automated pr
committer: "AdwCustomizer <AdwCustomizerTeam@proton.me>"
author: "AdwCustomizer <AdwCustomizerTeam@proton.me>"
branch: autopep8-patches