Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openjavaformat/open-java-format-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3
Choose a base ref
...
head repository: openjavaformat/open-java-format-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Oct 19, 2026

  1. Take the version from .open-java-format-version

    The action took the version as an input and the pre-commit hook pinned
    its own in FORMATTER_VERSION, so a repository had two places to keep in
    step, and either could fall behind on its own. Now both read
    .open-java-format-version from the repository root, and the version
    input is gone. Without the file, or with something in it that is not a
    version number, the action and the hook stop and say what to put there.
    
    The check for a newer release stays: the log warning and the code
    scanning alert now point at .open-java-format-version, line 1, which
    also does away with the search for the line of the workflow that named
    the version. The hook's help text says to change that one file.
    
    This repository already keeps its own version in that file for Follow
    open-java-format releases, so Test Action runs the action and the hook
    with it, and now also checks that both refuse to run without it. The
    version input is gone, so this is v4.
    abashev committed Oct 19, 2026
    Configuration menu
    Copy the full SHA
    47d9951 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2026

  1. Check with open-java-format 21.0.1

    .open-java-format-version names 21.0.1, which
    openjavaformat/open-java-format released on 2026-11-01, so the tests
    run the action and the pre-commit hook with it. Made by the
    "Follow open-java-format releases" workflow:
    https://github.com/openjavaformat/open-java-format-action/actions/runs/41343240257
    github-actions[bot] committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    e4033a1 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2026

  1. Check with open-java-format 21.0.2

    .open-java-format-version names 21.0.2, which
    openjavaformat/open-java-format released on 2026-11-08, so the tests
    run the action and the pre-commit hook with it. Made by the
    "Follow open-java-format releases" workflow:
    https://github.com/openjavaformat/open-java-format-action/actions/runs/42520644475
    github-actions[bot] committed Nov 8, 2026
    Configuration menu
    Copy the full SHA
    d26e2d7 View commit details
    Browse the repository at this point in the history
Loading