From aaa05c8cacb0b9e97c291ef2482e74d7e89e521f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Thu, 28 Mar 2024 00:24:29 +0300 Subject: [PATCH] Update code-style.yml --- .github/workflows/code-style.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/code-style.yml b/.github/workflows/code-style.yml index aef50466e6e..e910067cfb4 100644 --- a/.github/workflows/code-style.yml +++ b/.github/workflows/code-style.yml @@ -6,19 +6,5 @@ permissions: write-all jobs: style: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Check the code style - uses: TheDragonCode/codestyler@v4 - if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/main' }} - - - name: Fix the code style - uses: TheDragonCode/codestyler@v4 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} - with: - github_token: ${{ secrets.COMPOSER_TOKEN }} - fix: true + name: Code Style + uses: TheDragonCode/.github/.github/workflows/code-style.yml@main