Skip to content

commit

commit #2

Workflow file for this run

name: Format Fix
on:
pull_request:
paths: ['**/*.jl']
permissions:
contents: write
jobs:
format-fix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- name: Run JuliaFormatter
run: |
julia -e 'using Pkg; Pkg.add("JuliaFormatter"); using JuliaFormatter; format(".")'
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "🤖 Format code (Blue style)"