Skip to content

Commit

Permalink
Add auto commit to code style workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pelmered committed Sep 26, 2024
1 parent b8f2af0 commit 2dd71c8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44

- name: Run Laravel Pint
uses: aglipanci/laravel-pint-action@latest
with:
verboseMode: true
testMode: true
configPath: ./pint.json
onlyDirty: true

- name: Commit linted files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Fixes coding style"

0 comments on commit 2dd71c8

Please sign in to comment.