Skip to content

Commit

Permalink
Update README.md with 4.x version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Feb 10, 2024
1 parent 446a88d commit bbba32c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ jobs:
uses: actions/checkout@v2

- name: Code style fix
uses: TheDragonCode/codestyler@v3
uses: TheDragonCode/codestyler@v4
with:
# This token uses GitHub Actions to execute code.
# Required when `fix` is `true`.
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
echo "name=${NAME}" >> $GITHUB_OUTPUT
- name: ${{ steps.detect.outputs.name }} the code style
uses: TheDragonCode/codestyler@v3
uses: TheDragonCode/codestyler@v4
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down Expand Up @@ -263,14 +263,14 @@ By default, the linter scans all files in the current launch folder, except for
and `.github`.

```yaml
- uses: TheDragonCode/codestyler@v3
- uses: TheDragonCode/codestyler@v4
```

By default, the linter only checks the code-style. If you want to apply the changes, then you need to activate this
option:

```yaml
- uses: TheDragonCode/codestyler@v3
- uses: TheDragonCode/codestyler@v4
with:
github_token: ${{ secrets.CODE_STYLE_TOKEN }}
fix: true
Expand Down

0 comments on commit bbba32c

Please sign in to comment.