Skip to content

Commit

Permalink
Revert "Update CodeStyle Workflow"
Browse files Browse the repository at this point in the history
This reverts commit 827442f.
  • Loading branch information
lrljoe committed Dec 26, 2024
1 parent 827442f commit 278f96a
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
name: Fix PHP code style issues

on:
push:
branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
- '!master'
paths:
- '**.php'

permissions:
contents: write
on: [push]

jobs:
php-code-styling:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.head_ref }}

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@latest

- name: Commit styling changes
uses: aglipanci/[email protected]
with:
preset: laravel
verboseMode: true
testMode: true
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling

0 comments on commit 278f96a

Please sign in to comment.