diff --git a/.github/workflows/api-surface-area-review-verification.yml b/.github/workflows/api-surface-area-review-verification.yml index 0d3bf63925e1..7489fee42d7c 100644 --- a/.github/workflows/api-surface-area-review-verification.yml +++ b/.github/workflows/api-surface-area-review-verification.yml @@ -21,7 +21,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-api-surface-area-change') }} run: | git fetch origin ${{ github.base_ref }} --depth 1 - FILES=$( git diff remotes/origin/${{ github.base_ref }} --name-only | grep "\.java$" | grep -v -E "(^|/)(internal|test|codegen|v2-migration|it)/" || true) + FILES=$( git diff remotes/origin/${{ github.base_ref }} --name-only | grep "\.java$" | grep -v -E "(^|/)(internal|test|codegen|codegen-lite|v2-migration|it|release-scripts|scripts)/" || true) if [ -n "$FILES" ]; then echo "::error::Changes around protected/public APIs found:" echo "$FILES" | while read file; do