Skip to content

Commit e5ec57c

Browse files
authored
Actions are no longer experimental, so enable them by default (#27054)
This PR makes the actions enabled by default, so people will find it easier to enable actions in repository setting.
1 parent 3cd719a commit e5ec57c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

custom/conf/app.example.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ LEVEL = Info
25622562

25632563
; [actions]
25642564
;; Enable/Disable actions capabilities
2565-
;ENABLED = false
2565+
;ENABLED = true
25662566
;;
25672567
;; Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
25682568
;DEFAULT_ACTIONS_URL = github

docs/content/administration/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ PROXY_HOSTS = *.github.com
13841384

13851385
## Actions (`actions`)
13861386

1387-
- `ENABLED`: **false**: Enable/Disable actions capabilities
1387+
- `ENABLED`: **true**: Enable/Disable actions capabilities
13881388
- `DEFAULT_ACTIONS_URL`: **github**: Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
13891389
- `STORAGE_TYPE`: **local**: Storage type for actions logs, `local` for local disk or `minio` for s3 compatible object storage service, default is `local` or other name defined with `[storage.xxx]`
13901390
- `MINIO_BASE_PATH`: **actions_log/**: Minio base path on the bucket only available when STORAGE_TYPE is `minio`

docs/content/administration/config-cheat-sheet.zh-cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ PROXY_HOSTS = *.github.com
13311331

13321332
## Actions (`actions`)
13331333

1334-
- `ENABLED`: **false**:启用/禁用操作功能
1334+
- `ENABLED`: **true**:启用/禁用操作功能
13351335
- `DEFAULT_ACTIONS_URL`: **github**:获取操作插件的默认平台,`github`表示`https://github.com``self`表示当前的 Gitea 实例。
13361336
- `STORAGE_TYPE`: **local**:用于操作日志的存储类型,`local`表示本地磁盘,`minio`表示与S3兼容的对象存储服务,默认为`local`,或者使用定义为`[storage.xxx]`的其他名称。
13371337
- `MINIO_BASE_PATH`: **actions_log/**:Minio存储桶上的基本路径,仅在`STORAGE_TYPE``minio`时可用。

modules/setting/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var (
1919
Enabled bool
2020
DefaultActionsURL defaultActionsURL `ini:"DEFAULT_ACTIONS_URL"`
2121
}{
22-
Enabled: false,
22+
Enabled: true,
2323
DefaultActionsURL: defaultActionsURLGitHub,
2424
}
2525
)

0 commit comments

Comments
 (0)