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: