Closed Aficionado45 closed 7 months ago
It isn't working in self-hosted runner but I don't see the issue as being a missing policy file: it's because the GOBIN
is hardcoded:
https://github.com/tailscale/gitops-acl-action/blob/v1/action.yml#L42-L43
tailscale.com/cmd/gitops-pusher: go install tailscale.com/cmd/gitops-pusher: copying /tmp/go-build3190208388/b001/exe/a.out: open /usr/local/bin/gitops-pusher: permission denied
Error: Process completed with exit code 1.
this should now be fixed in #38. If you still run into issues, please let me know. I haven't moved the v1
tag just yet, as we're going to make another small change first, but that will be updated shortly.
When running the action on self-hosted github runner. It shows up the error, policy file not found and upon running it on ubuntu-latest workflow runs successfully.