helm-gh-pages icon indicating copy to clipboard operation
helm-gh-pages copied to clipboard

feat: run action as non-root user

Open aslafy-z opened this issue 4 years ago • 0 comments

I'm running my own runners and get this error on checkout on subsequent builds:

=> Checkout
Run actions/checkout@v2
Syncing repository: user/repo
Getting Git version info
Deleting the contents of '/home/ec2-user/actions-runner/_work/user/repo'
##[error]Command failed: rm -rf "/home/ec2-user/actions-runner/_work/user/repo/helm"
rm: cannot remove '/home/ec2-user/actions-runner/_work/user/repo/charts/api/charts/postgresql-9.5.0.tgz': Permission denied

This fixes the issue.

aslafy-z avatar Sep 18 '20 16:09 aslafy-z