mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
ci(autoblack): use the now available official psf/black github action
This commit is contained in:
parent
1b28bca0c0
commit
7a46e1499d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/autoblack.yml
vendored
4
.github/workflows/autoblack.yml
vendored
|
@ -10,13 +10,13 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check files using the black formatter
|
||||
uses: psf/black@v24
|
||||
uses: psf/black@stable
|
||||
id: black
|
||||
with:
|
||||
black_args: "."
|
||||
continue-on-error: true
|
||||
- name: Create Pull Request
|
||||
if: steps.action_black.outputs.is_formatted == 'true'
|
||||
if: steps.black.outputs.is_formatted == 'true'
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue