mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Ci
This commit is contained in:
2
.github/workflows/phan.yml
vendored
2
.github/workflows/phan.yml
vendored
@@ -53,8 +53,8 @@ jobs:
|
||||
|
||||
- name: Get changed PHP files
|
||||
id: files
|
||||
# shellcheck disable=2086
|
||||
run: |
|
||||
# shellcheck disable=2086
|
||||
git fetch origin ${{ github.base_ref }}
|
||||
FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep '\.php$' || true)
|
||||
PHP_FILES=$(echo "$FILES" | grep '\.php$' || true)
|
||||
|
||||
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