Fix create product url (#1999) #2
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-code-style | |
on: | |
push: | |
jobs: | |
fix-code-style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: ${{ github.head_ref }} | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
- name: Install dependencies | |
run: | | |
composer install --no-interaction | |
- name: Run Pint | |
run: composer pint | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_user_name: "GitHub Action" | |
commit_user_email: "action@github.com" | |
commit_author: "Author <actions@github.com>" | |
commit_message: > | |
chore: fix code style |