mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
docs: {user,admin}: runners and secrets are available for users
This commit is contained in:
parent
96d4d8aeed
commit
d7274c3351
2 changed files with 4 additions and 2 deletions
|
@ -76,7 +76,8 @@ $ ./lxc-helpers/lxc-helpers.sh lxc_container_run bash
|
|||
The `Forgejo runner` needs to connect to a `Forgejo` instance and must register itself before doing so. It will be given permission to read the repositories and send back information to `Forgejo` such as the logs or its status. A special kind of token is needed and can be obtained from the `Create new runner` button:
|
||||
|
||||
- in `/admin/runners` to gain access to all repositories.
|
||||
- in `/org/{organization}/settings/actions/runners` to gain access to all repositories within the organization.
|
||||
- in `/org/{org}/settings/actions/runners` to gain access to all repositories within the organization.
|
||||
- in `/user/settings/actions/runners` to gain access to all repositories of the logged in user
|
||||
- in `/{owner}/{repository}/settings/actions/runners` to gain access to a single repository.
|
||||
|
||||
For instance, using a token obtained for a test repository from `next.forgejo.org`:
|
||||
|
|
|
@ -29,9 +29,10 @@ The following guide explains key **concepts** to help understand how `workflows`
|
|||
|
||||
# Secrets
|
||||
|
||||
A repository or an organization can hold secrets, a set of key/value pairs that are stored encrypted in the `Forgejo` database and revealed to the `workflows` as `${{ secrets.KEY }}`. They can be defined from the web interface:
|
||||
A repository, a user or an organization can hold secrets, a set of key/value pairs that are stored encrypted in the `Forgejo` database and revealed to the `workflows` as `${{ secrets.KEY }}`. They can be defined from the web interface:
|
||||
|
||||
- in `/org/{org}/settings/actions/secrets` to be available in all the repositories that belong to the organization
|
||||
- in `/user/settings/actions/secrets` to be available in all the repositories that belong to the logged in user
|
||||
- in `/{owner}/{repo}/settings/actions/secrets` to be available to the `workflows` of a single repository
|
||||
|
||||
![add a secret](../../../../images/v1.20/user/actions/secret-add.png)
|
||||
|
|
Loading…
Reference in a new issue