Do GitHub raw urls for private repositories expire? I'm referring to the link generated when you click the Raw
button while viewing a file on github.com.
The link includes a token but there's no info about where that token comes from.
No one has clearly mentioned this, but the github raw urls expire in 7 days.
You can use longer lasting personal access tokens generated here: https://github.com/settings/tokens but those can only be used via curl:
curl -H 'Authorization: token <personal_token>' <raw_url>
Note that the personal access tokens expire if unused for an entire year.