From cfab7901174a065bf2543be4adb73365bf03bbe2 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 7 Mar 2024 07:53:35 +1300 Subject: [PATCH] Run CI proto docker as actions user (#835) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c327cad..b740d0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,6 +93,7 @@ jobs: - run: | docker run \ -v "$PWD":/aioesphomeapi \ + -u "$(id -u):$(id -g)" \ ghcr.io/esphome/aioesphomeapi-proto-builder:latest if ! git diff --quiet; then echo "You have altered the generated proto files but they do not match what is expected."