From cec48f319860fb3093a213fa42f241376428f9f0 Mon Sep 17 00:00:00 2001 From: Yang Libin Date: Tue, 1 Jun 2021 19:24:44 +0800 Subject: [PATCH] chore: update code formatter action (#2178) close #2178 --- .github/workflows/checkstyle.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 842430004..9845df46b 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -1,12 +1,17 @@ name: Code Formatter -on: [push, pull_request] +on: + push: + branches: [master, Development] + paths: + - "**.java" + jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - uses: actions/setup-python@v2 + - name: Set up JDK 12 uses: actions/setup-java@v1 with: