From 51e268dc9779e53bc04d6fdffe49c9b68c4c57b3 Mon Sep 17 00:00:00 2001 From: "wenmeng.zwm" Date: Wed, 12 Oct 2022 11:20:07 +0800 Subject: [PATCH] change filemode --- .github/workflows/citest.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/citest.yaml b/.github/workflows/citest.yaml index b16d3f16..3d2abae9 100644 --- a/.github/workflows/citest.yaml +++ b/.github/workflows/citest.yaml @@ -41,6 +41,14 @@ jobs: # The type of runner that the job will run on runs-on: [modelscope-self-hosted] steps: + - name: ResetFileMode + shell: bash + run: | + # reset filemode to allow action runner to delete files + # generated by root in docker + set -e + sudo chown -R $USER:$USER $ACTION_RUNNER_DIR + - name: Checkout uses: actions/checkout@v2 with: