mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-11-05 04:13:58 +00:00
24 lines
784 B
YAML
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
|