Skip to content

Commit 50a898b

Browse files
committedMar 18, 2024
Update: GitHub actions to run php-cs-fixer only on relevant changed files
1 parent 4d8148a commit 50a898b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎.github/workflows/lint.yml

+12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
name: "Code Linting"
22
on:
33
push:
4+
paths:
5+
- .php-cs-fixer.dist.php
6+
- autoload.php
7+
- lib/**
8+
- data/**
9+
- tests/**
410
branches:
511
- master
612
pull_request:
13+
paths:
14+
- .php-cs-fixer.dist.php
15+
- autoload.php
16+
- lib/**
17+
- data/**
18+
- tests/**
719

820
jobs:
921
php-cs-fixer:

0 commit comments

Comments
 (0)