Halaman Unduh dan Lihat Dokumen #88
Workflow file for this run
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: Blade Prettier | |
on: | |
pull_request: | |
branches: | |
- 'dev' | |
- 'master' | |
- 'bug-fix' | |
paths: | |
- '.github/workflows/blade-prettier.yml' | |
- 'resources/views/**' | |
- 'package.json' | |
- 'package-lock.json' | |
jobs: | |
prettier: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install dependency | |
run: npm install | |
- name: Pretier Blade | |
run: npm run prettier-blade | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Blade Prettier Code" |