Skip to content

Commit

Permalink
Update formatter config (#131)
Browse files Browse the repository at this point in the history
* update formatter config

* simplify the if statement
  • Loading branch information
hyrodium authored Mar 30, 2024
1 parent 4327ce3 commit d0ebe8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Format suggestions
on:
pull_request:
types: [labeled]
pull_request_target:
types: [labeled]
jobs:
code-style:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'ok to format')
permissions:
pull-requests: write
steps:
- uses: julia-actions/julia-format@v2

0 comments on commit d0ebe8e

Please sign in to comment.