From b71f102e9c416b17ea2fd0a0a5eebdba8fc12b25 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Thu, 28 Sep 2023 15:52:06 +0200 Subject: [PATCH] admin: actions: enabled by default --- docs/admin/actions.md | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/docs/admin/actions.md b/docs/admin/actions.md index 282683a7..b40dd770 100644 --- a/docs/admin/actions.md +++ b/docs/admin/actions.md @@ -3,22 +3,9 @@ title: 'Forgejo Actions administrator guide' 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 - -### 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. +## Settings ### 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, 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 The `Forgejo runner` is a daemon that fetches workflows to run from a