diff --git a/.github/workflows/ci-api-proto.yml b/.github/workflows/ci-api-proto.yml index d6469236d5..92d209cc34 100644 --- a/.github/workflows/ci-api-proto.yml +++ b/.github/workflows/ci-api-proto.yml @@ -57,6 +57,17 @@ jobs: event: 'REQUEST_CHANGES', body: 'You have altered the generated proto files but they do not match what is expected.\nPlease run "script/api_protobuf/api_protobuf.py" and commit the changes.' }) + - if: failure() + name: Show changes + run: git diff + - if: failure() + name: Archive artifacts + uses: actions/upload-artifact@v4.6.2 + with: + name: generated-proto-files + path: | + esphome/components/api/api_pb2.* + esphome/components/api/api_pb2_service.* - if: success() name: Dismiss review uses: actions/github-script@v7.0.1