Skip to content

Commit

Permalink
Merge pull request #8 from BrainLesion/feature/formatting-actions
Browse files Browse the repository at this point in the history
- test actions
  • Loading branch information
MarcelRosier authored Dec 12, 2023
2 parents 7f0d726 + cb406e3 commit 608f044
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/autoformat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
# Check if the comment contains the trigger /format-action.
# Check if the comments come from pull request, exclude those from issue.
if: |
contains(github.event.comment.body, '/format-action') &&
contains(github.event.comment.body, '@format-action') &&
contains(github.event.comment.html_url, '/pull/')
name: auto-format
runs-on: ubuntu-latest
Expand All @@ -22,10 +22,5 @@ jobs:
options: "--verbose"
src: "."
jupyter: true
- name: Push auto format changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "Auto-format code with black performed by GitHub Action"
git push origin ${{ github.head_ref }}
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# eReg

TODO
## TODO

0 comments on commit 608f044

Please sign in to comment.