fix(workflow): pull format (#70)

This commit is contained in:
源文雨 2023-04-16 11:29:57 +08:00 committed by GitHub
parent 8f339ba358
commit eebbacba8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,16 +12,22 @@ jobs:
continue-on-error: true
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install black
- name: Install Black
run: pip install black
- name: run black
- name: Run Black
# run: black $(git ls-files '*.py')
run: black .
- name: AutoCommit
- name: Commit Back
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply Code Formatter Change