mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
admin: actions: enabled by default
This commit is contained in:
parent
2cc8fba302
commit
b71f102e9c
1 changed files with 11 additions and 15 deletions
|
@ -3,22 +3,9 @@ title: 'Forgejo Actions administrator guide'
|
||||||
license: 'CC-BY-SA-4.0'
|
license: 'CC-BY-SA-4.0'
|
||||||
---
|
---
|
||||||
|
|
||||||
`Forgejo Actions` provides continuous integration driven from the files found in the `.forgejo/workflows` directory of a repository.
|
`Forgejo Actions` provides continuous integration driven from the files found in the `.forgejo/workflows` directory of a repository. Note that `Forgejo` does not run the jobs, it relies on the [`Forgejo runner`](https://code.forgejo.org/forgejo/runner) to do so. It needs to be installed separately.
|
||||||
|
|
||||||
## Forgejo settings
|
## Settings
|
||||||
|
|
||||||
### Enabling
|
|
||||||
|
|
||||||
`Forgejo Actions` is still in alpha and disabled by default. It can be activated by adding the following to `app.ini`:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
[actions]
|
|
||||||
ENABLED = true
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that `Forgejo` does not run the jobs, it relies on the [`Forgejo
|
|
||||||
runner`](https://code.forgejo.org/forgejo/runner) to do so. It needs
|
|
||||||
to be installed separately.
|
|
||||||
|
|
||||||
### Default Actions URL
|
### Default Actions URL
|
||||||
|
|
||||||
|
@ -47,6 +34,15 @@ instance if an action has `uses: foo/bar@main` it will clone and try
|
||||||
to run the action found at `DEFAULT_ACTIONS_URL/foo/bar` if it exists,
|
to run the action found at `DEFAULT_ACTIONS_URL/foo/bar` if it exists,
|
||||||
even if it provides something different than what is expected.
|
even if it provides something different than what is expected.
|
||||||
|
|
||||||
|
### Disabling
|
||||||
|
|
||||||
|
As of `Forgejo v1.21` it is enabled by default. It can be disabled by adding the following to `app.ini`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
[actions]
|
||||||
|
ENABLED = false
|
||||||
|
```
|
||||||
|
|
||||||
## Forgejo runner
|
## Forgejo runner
|
||||||
|
|
||||||
The `Forgejo runner` is a daemon that fetches workflows to run from a
|
The `Forgejo runner` is a daemon that fetches workflows to run from a
|
||||||
|
|
Loading…
Reference in a new issue