Skip to content

Add Formatter github action#1

Merged
HarryWang0619 merged 1 commit intoJuliaHEP:mainfrom
HarryWang0619:Repository-Setup
Jul 27, 2025
Merged

Add Formatter github action#1
HarryWang0619 merged 1 commit intoJuliaHEP:mainfrom
HarryWang0619:Repository-Setup

Conversation

@HarryWang0619
Copy link
Contributor

Add julia formatter and format.yml to gh action.

Add julia formatter and format.yml to gh action.
@HarryWang0619 HarryWang0619 requested a review from Copilot July 27, 2025 02:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds automated Julia code formatting to the repository by introducing a GitHub Action workflow and configuration file. The purpose is to ensure consistent code style across the codebase by automatically suggesting formatting changes on pull requests.

  • Adds a JuliaFormatter configuration file with SciML style guidelines
  • Creates a GitHub Action workflow that runs on pull request events to suggest formatting changes
  • Configures the formatter to ignore Pluto and notebook files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
JuliaFormatter.toml Configuration file specifying SciML style formatting rules and file exclusions
.github/workflows/Format.yml GitHub Action workflow for automated formatting suggestions on pull requests
Comments suppressed due to low confidence (1)

.github/workflows/Format.yml:10

  • The version 'v4' for julia-actions/julia-format action may not exist. As of my knowledge cutoff in January 2025, this action was at v3. Please verify the correct version number exists in the marketplace.
      - uses: julia-actions/julia-format@v4

@HarryWang0619 HarryWang0619 merged commit 7495b65 into JuliaHEP:main Jul 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant