fix: DEFAULT_ACTIONS_URL

This commit is contained in:
Jason Song 2023-03-24 15:57:07 +08:00
parent 7ee5be7665
commit 17d41dc80b
No known key found for this signature in database
GPG key ID: 8402EEEE4511A8B5

View file

@ -152,6 +152,8 @@ The good news is that you can specify the URL prefix to use any actions in any p
Be careful, the `https://` or `http://` prefix is necessary.
Alternatively, if you want your runners to download actions from GitHub or your own Gitea instance by default, you can configure it by setting `DEFAULT_ACTIONS_URL`. See [Configuration Cheat Sheet](https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions).
#### How to limit the permission of the runners?
In fact, runners have no more permissions than simply connecting to your Gitea instance. And when any runner receives a job to run, it will temporarily gain permission to read the repository associated with the job. If you want to give more permissions to the runner, allowing it to access more private repositories or external systems, you can pass [secrets](https://github.com/go-gitea/gitea/pull/22142) to it.