diff --git a/.github/workflows/php-checks.yml b/.github/workflows/php-checks.yml index b74a7223..4a20029d 100644 --- a/.github/workflows/php-checks.yml +++ b/.github/workflows/php-checks.yml @@ -54,7 +54,7 @@ jobs: diff=$(git --no-pager diff --name-only HEAD) echo "DIFF_IS_EMPTY=$([[ -z "$diff" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV echo "CURRENT_DATETIME=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV - - if: ${{ env.DIFF_IS_EMPTY != 'true' }} + - if: ${{ env.DIFF_IS_EMPTY != 'true' && github.actor != 'renovate[bot]' }} run: | echo "There are changes from the auto-generated files by OAS. Please run diff-check.yml and merge the PR generated by it first." exit 1