From 3874623cb51ab9ad6feb3eace58c7d4aa07b0253 Mon Sep 17 00:00:00 2001 From: devyu <80163835+yubin21@users.noreply.github.com> Date: Wed, 16 Aug 2023 21:51:54 +0900 Subject: [PATCH] Create google java format.yml --- .github/workflows/google java format.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/google java format.yml diff --git a/.github/workflows/google java format.yml b/.github/workflows/google java format.yml new file mode 100644 index 0000000..99f4ab5 --- /dev/null +++ b/.github/workflows/google java format.yml @@ -0,0 +1,13 @@ +name: google-java-format + +on: [ push, pull_request ] +jobs: + formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: axel-op/googlejavaformat-action@v3 + with: + args: "set-exit-if-changed --fix-imports-only" + commit-message: "format: Google Java Format" + github-token: ${{ secrets.GH_TOKEN }}