diff --git a/.github/etc/crontab b/.github/etc/crontab new file mode 100644 index 0000000..d1b0b06 --- /dev/null +++ b/.github/etc/crontab @@ -0,0 +1,16 @@ +# To install this crontab: +# +# sudo crontab crontab +# +# Bug: my self-hosted GitHub Actions experiences failures when files owned by root are +# introduced in the runner user's homedir. I'm not sure how they're introduced because +# runner doesn't have sudo access, but this ugly workaround will prevent the problem +# from getting too bad. +# +# Fixes, from GitHub Actions: +# +# Error: File was unable to be removed Error: EACCES: permission denied, rmdir '/home/runner/actions-runner/_work/sslip.io/sslip.io/.github/workflows' +# +# +# +58 * * * * chown -R runner:users /home/runner