Skip to content

Commit

Permalink
Laravel Pint and Gitflow setup (#7)
Browse files Browse the repository at this point in the history
* Add Laravel Pulse, add Gitflow

- Add Gitflow For CI/CD Automation
- Add Laravel Pulse
- Add Gitflow for CS Fixer
- Add Community standard readme template
- Add hasAdministrativeRole method is User Model
* PHP CS and Laravel Pint conflict for code style (#6)

---------

Co-authored-by: anisAronno <anisAronno@users.noreply.github.com>

* Update code with pint style

---------

Co-authored-by: anisAronno <anisAronno@users.noreply.github.com>
  • Loading branch information
anisAronno and anisAronno committed Dec 29, 2023
1 parent 5536f82 commit b8f52ca
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Inspections

on:
pull_request:
branches:
- "*"
on: pull_request

jobs:
php-cs-fixer:
Expand All @@ -12,9 +9,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0 # Ensures all branches are fetched
token: ${{ secrets.AUTH_ACCESS_TOKEN }}
ref: ${{ github.head_ref }}
fetch-depth: 0 # Ensures all branches are fetched
token: ${{ secrets.AUTH_ACCESS_TOKEN }}

- name: Set up Git Identity
run: |
Expand All @@ -24,10 +21,10 @@ jobs:
- name: Run PHP CS Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
args: --config=.php-cs-fixer.dist.php --allow-risky=yes

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling
branch: ${{ github.head_ref }}
commit_message: Fix styling
branch: ${{ github.head_ref }}

0 comments on commit b8f52ca

Please sign in to comment.