Is it safe to use the latest version? #1307
Unanswered
107ef363-c60f-46fb-a8bc-da8c5f4f6938
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I think no matter which version you install now, the runner itself has auto update mechanism that update to the latest released version. |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://docs.github.com/en/rest/reference/actions#list-runner-applications-for-a-repository |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a script that registers a self-hosted runner.
Part of the script deals with downloading the runner binary. I would prefer to not have to frequently update the runner version in this script, so I'm using
curl --silent "https://api.github.com/repos/actions/runner/releases/latest" | jq -r .tag_name
to get the latest release version. Currently this returnsv2.281.1
.However I've noticed the instructions provided by the GitHub settings when adding a runner manually currently use
v2.280.3
. Is this a security measure? Should I be using that version (two behind latest) in my script as well or is it safe to stick with the latest release?Beta Was this translation helpful? Give feedback.
All reactions