Ci
This commit is contained in:
parent
2a2bc335c8
commit
af24facf4a
2 changed files with 4 additions and 3 deletions
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue