Closed willnorris closed 1 year ago
well I guess that answers that question... you can't specify timeout-minutes in actions.yml
https://github.com/tailscale/github-action/actions/runs/5414970481
Yeah, I don't think we can do this in actions.yml. timeout isn't mentioned in their docs, but I was hoping it would still work. Looks like users will need to set it on their own. Maybe we just update the README to suggest a default value.
or maybe we use the timeout
command? Should be standard part of GNU coreutils
I imagine curl has a timeout argument as well.
Set a reasonable timeout to prevent jobs from hanging for hours (https://github.com/tailscale/github-action/issues/50). 5 minutes is way longer than should ever be necessary, but accounts for intermittent networking issues on either the actions runner or the Tailscale package or control server. Users can always set a shorter timeout on their own action step.
Fixes #50