-
-
Notifications
You must be signed in to change notification settings - Fork 15
28 lines (28 loc) · 969 Bytes
/
autopep8.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Format python code
on:
repository_dispatch:
types: [autopep8-example-command]
jobs:
autopep8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: autopep8
uses: ./
with:
args: --recursive --in-place --aggressive --aggressive .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: autopep8 action fixes
title: Fixes by autopep8 action
body: This is an auto-generated PR with fixes by autopep8.
labels: autopep8, automated pr
reviewers: peter-evans
branch: autopep8-patches
- name: Add reaction
uses: peter-evans/create-or-update-comment@v4
with:
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
reaction-type: hooray