From fed9b6449789d0cc467155ff7970c58ea673a405 Mon Sep 17 00:00:00 2001 From: penekhun Date: Sat, 27 Jan 2024 21:38:55 +0900 Subject: [PATCH] chore: Retry specifying config_loc at checkstyle action with different setting --- .github/workflows/build-pull-request.yml | 2 +- config/checkstyle/checkstyle-git-action.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 config/checkstyle/checkstyle-git-action.properties diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index e7d11cd..f8c38ae 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -37,7 +37,7 @@ jobs: github_token: ${{ secrets.TOKEN }} reporter: 'github-pr-check' checkstyle_config: 'config/checkstyle/checkstyle.xml' - properties_file: 'Dconfig_loc=config/checkstyle/checkstyle-suppressions.xml' + properties_file: 'config/checkstyle/checkstyle-git-action.properties' - name: Run checkstyle gradle run: ./gradlew checkstyleMain checkstyleTest \ No newline at end of file diff --git a/config/checkstyle/checkstyle-git-action.properties b/config/checkstyle/checkstyle-git-action.properties new file mode 100644 index 0000000..6177864 --- /dev/null +++ b/config/checkstyle/checkstyle-git-action.properties @@ -0,0 +1 @@ +config_loc=config/checkstyle/checkstyle-suppressions.xml \ No newline at end of file