From 7d461310fa914b59471d39770349b40569570849 Mon Sep 17 00:00:00 2001 From: HuangFuSL Date: Thu, 17 Aug 2023 10:52:06 +0800 Subject: [PATCH] Patch: add a `chown` step to take ownership According to actions/checkout#211 --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8577e7b1e..9cd43d8bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,10 @@ jobs: options: --user root steps: + - name: Take ownership + run: | + sudo chown -R $USER:$USER $GITHUB_WORKSPACE + - name: Checkout Main uses: actions/checkout@v3 with: