Skip to content

Commit

Permalink
ci: commit black changes directly ffs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Nov 29, 2024
1 parent db83c8b commit 5c3f960
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/autoblack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,9 @@ jobs:
with:
options: "."
continue-on-error: true

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
- uses: stefanzweifel/git-auto-commit-action@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "Format Python code with Black"
commit-message: ":art: Format Python code with Black"
body: |
This pull request uses the [psf/black](https://github.com/psf/black) formatter.
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
branch: actions/black
commit_message: ":art: Format Python code with Black"
commit_user_name: yunohost-bot
commit_user_email: [email protected]
commit_author: 'yunohost-bot <[email protected]>'
2 changes: 2 additions & 0 deletions app_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
import appslib.get_apps_repo as get_apps_repo




class AppDir:
def __init__(self, name: str, path: Path) -> None:
self.name = name
Expand Down

0 comments on commit 5c3f960

Please sign in to comment.