Merge pull request #30 from zYxDevs/update #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Black | |
on: push | |
jobs: | |
black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install black | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install black | |
- name: Run black | |
run: black ./ | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Automated code formatting | |
title: Format code. | |
body: Automated code formatting. | |
labels: ⚫️ black | |
branch: autofix | |
committer: zYxDevs<me@isekai.eu.org> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: true | |
delete-branch: true |