aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-11-22 11:11:22 +0900
committerGitHub <noreply@github.com>2023-11-22 02:11:22 +0000
commit2d9b91aa243b3095277de62b5875a1a1fd6b1dbb (patch)
tree704988e8cdc636e5a655f189ea5699ec8f6e256b /docs/content
parentd1acd7e9de158d25ea45d44695f5cb4dfd820249 (diff)
downloadgitea-2d9b91aa243b3095277de62b5875a1a1fd6b1dbb.tar.gz
gitea-2d9b91aa243b3095277de62b5875a1a1fd6b1dbb.zip
Fix the description about the default setting for action in quick start document (#28160)
Since #27054, Actions are enabled by default. so we should also edit the document. 😃 ps: I think this should be backport to 1.21.0.
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/usage/actions/quickstart.en-us.md2
-rw-r--r--docs/content/usage/actions/quickstart.zh-cn.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/usage/actions/quickstart.en-us.md b/docs/content/usage/actions/quickstart.en-us.md
index 73d90e2e68..f7f4ee2c36 100644
--- a/docs/content/usage/actions/quickstart.en-us.md
+++ b/docs/content/usage/actions/quickstart.en-us.md
@@ -23,7 +23,7 @@ First of all, you need a Gitea instance.
You can follow the [documentation](installation/from-package.md) to set up a new instance or upgrade your existing one.
It doesn't matter how you install or run Gitea, as long as its version is 1.19.0 or higher.
-Actions are disabled by default, so you need to add the following to the configuration file to enable it:
+Since 1.21.0, Actions are enabled by default. If you are using versions before 1.21.0, you need to add the following to the configuration file to enable it:
```ini
[actions]
diff --git a/docs/content/usage/actions/quickstart.zh-cn.md b/docs/content/usage/actions/quickstart.zh-cn.md
index c5b67ce101..ffc1f07df2 100644
--- a/docs/content/usage/actions/quickstart.zh-cn.md
+++ b/docs/content/usage/actions/quickstart.zh-cn.md
@@ -23,7 +23,7 @@ menu:
您可以按照[文档](installation/from-package.md) 来设置一个新实例或升级现有实例。
无论您如何安装或运行Gitea,只要版本号是1.19.0或更高即可。
-默认情况下,Actions是禁用的,因此您需要将以下内容添加到配置文件中以启用它:
+从1.21.0开始,默认情况下,Actions是启用的。如果您正在使用1.21.0之前的版本,您需要将以下内容添加到配置文件中以启用它:
```ini
[actions]