@TheTeamAlexa #568
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 -U black | |
- name: Run black | |
run: black . | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Formate By @TheTeamAlexa | |
title: Format code. | |
body: Automated code formatting. | |
labels: ⚫️ black | |
branch: autofix | |
committer: TheTeamAlexa <TheTeamAlexa@users.noreply.github.com> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: true | |
delete-branch: true |