Skip to content

Commit

Permalink
Update code-style.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar authored Mar 27, 2024
1 parent d6121bc commit 62b5338
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 62b5338

Please sign in to comment.