Skip to content

Commit 1a744cb

Browse files
committed
Update lint.yml
1 parent 31ac266 commit 1a744cb

1 file changed

Lines changed: 10 additions & 20 deletions

File tree

.github/workflows/lint.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ name: linter
22

33
on:
44
push:
5-
branches:
6-
- develop
7-
- main
8-
pull_request:
9-
branches:
10-
- develop
11-
- main
5+
branches: [ main ]
126

137
permissions:
148
contents: write
@@ -23,24 +17,20 @@ jobs:
2317
- name: Setup PHP
2418
uses: shivammathur/setup-php@v2
2519
with:
26-
php-version: latest
27-
28-
- name: Add Flux Credentials Loaded From ENV
29-
run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_USERNAME }}" "${{ secrets.FLUX_LICENSE_KEY }}"
20+
php-version: 8.5
3021

3122
- name: Install Dependencies
3223
run: |
3324
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
34-
npm install
3525
3626
- name: Run Pint
3727
run: vendor/bin/pint
3828

39-
# - name: Commit Changes
40-
# uses: stefanzweifel/git-auto-commit-action@v7
41-
# with:
42-
# commit_message: fix code style
43-
# commit_options: '--no-verify'
44-
# file_pattern: |
45-
# **/*
46-
# !.github/workflows/*
29+
- name: Commit Changes
30+
uses: stefanzweifel/git-auto-commit-action@v7
31+
with:
32+
commit_message: fix code style
33+
commit_options: '--no-verify'
34+
file_pattern: |
35+
**/*
36+
!.github/workflows/*

0 commit comments

Comments
 (0)