mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-12 07:52:31 +00:00
23 lines
763 B
YAML
23 lines
763 B
YAML
name: Format python code
|
|
on:
|
|
push:
|
|
branch: [ "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: "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
|