Run CI proto docker as actions user (#835)

This commit is contained in:
Jesse Hills 2024-03-07 07:53:35 +13:00 committed by GitHub
parent 0f7e293c43
commit cfab790117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ jobs:
- run: | - run: |
docker run \ docker run \
-v "$PWD":/aioesphomeapi \ -v "$PWD":/aioesphomeapi \
-u "$(id -u):$(id -g)" \
ghcr.io/esphome/aioesphomeapi-proto-builder:latest ghcr.io/esphome/aioesphomeapi-proto-builder:latest
if ! git diff --quiet; then if ! git diff --quiet; then
echo "You have altered the generated proto files but they do not match what is expected." echo "You have altered the generated proto files but they do not match what is expected."