filament()->auth()->user() instead of auth()->user() #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fix PHP code style issues | |
on: | |
push: | |
paths: | |
- '**.php' | |
pull_request: | |
paths: | |
- '**.php' | |
permissions: | |
contents: write | |
jobs: | |
php-code-styling: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} # This ensures you checkout the branch of the pull request | |
- name: Fix PHP code style issues | |
uses: aglipanci/[email protected] | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Fix styling | |
branch: ${{ github.head_ref }} # This specifies the branch to push changes to |