1name: Chown workspace 2 3description: Ensure that the working directory gets chowned back to the current user 4 5inputs: 6 ALPINE_IMAGE: 7 type: string 8 required: false 9 default: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine" 10 description: selected Alpine docker image to use for chown of workspace 11 12runs: 13 using: composite 14 steps: 15 - run: docker run --rm -v "$(pwd)":/v -w /v "${ALPINE_IMAGE}" chown -R "$(id -u):$(id -g)" . 16 shell: bash 17 env: 18 ALPINE_IMAGE: ${{ inputs.ALPINE_IMAGE }} 19