Skip to content

Commit

Permalink
Update: GitHub actions to run php-cs-fixer only on relevant changed f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
thePanz committed Mar 18, 2024
1 parent 4d8148a commit 50a898b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
@@ -1,9 +1,21 @@
name: "Code Linting"
on:
push:
paths:
- .php-cs-fixer.dist.php
- autoload.php
- lib/**
- data/**
- tests/**
branches:
- master
pull_request:
paths:
- .php-cs-fixer.dist.php
- autoload.php
- lib/**
- data/**
- tests/**

jobs:
php-cs-fixer:
Expand Down

0 comments on commit 50a898b

Please sign in to comment.