mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-25 14:16:15 +01:00
Ci
This commit is contained in:
5
.github/workflows/phpstan.yml
vendored
5
.github/workflows/phpstan.yml
vendored
@@ -70,13 +70,14 @@ jobs:
|
||||
id: files
|
||||
# shellcheck disable=SC2086
|
||||
run: |
|
||||
# shellcheck disable=SC2086
|
||||
git fetch origin ${{ github.base_ref }}
|
||||
FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '\.php$' || true)
|
||||
FILES=$(git diff --name-only "origin/${{ github.base_ref }}...HEAD" | grep '\.php$' || true)
|
||||
{
|
||||
echo "files<<EOF"
|
||||
echo "$FILES"
|
||||
echo "EOF"
|
||||
} >> $GITHUB_OUTPUT
|
||||
} > "$GITHUB_OUTPUT"
|
||||
|
||||
# Run PHPStan
|
||||
- name: Run PHPStan
|
||||
|
||||
Reference in New Issue
Block a user