ci: open changelog PR instead of pushing to protected branch #40
This file contains hidden or 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: Pint | |
| on: | |
| push: | |
| paths: | |
| - '**.php' | |
| permissions: | |
| contents: write | |
| jobs: | |
| php-code-styling: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - name: Fix PHP code style issues | |
| uses: aglipanci/laravel-pint-action@2.6 | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: Fix styling |