Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement actions artifacts #22345

Closed
wants to merge 481 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
847d65d
Merge branch 'main' into feature/bots
wolfogre Nov 30, 2022
c5c9b4a
Merge branch 'main' into feature/bots
wolfogre Dec 1, 2022
a29babe
fix: skip initing bots storage if disabled
wolfogre Dec 1, 2022
ab69fdc
feat: more notifications
wolfogre Dec 1, 2022
b2745bf
feat: support disable bots completely
wolfogre Dec 1, 2022
d2a4c10
chore: code lint
wolfogre Dec 1, 2022
9bd773e
Merge branch 'main' into feature/bots
wolfogre Dec 2, 2022
f869c98
chore: resolve conflict
wolfogre Dec 2, 2022
b9ab9b2
Merge branch 'go-gitea:main' into feature/bots
wolfogre Dec 2, 2022
3dc5547
Merge branch 'main' into feature/bots
wolfogre Dec 2, 2022
76869e4
Merge branch 'main' into feature/bots
wolfogre Dec 2, 2022
d4842ac
chore: resolve conflict
wolfogre Dec 2, 2022
b0d6c7b
chore: use SPDX-License-Identifier
wolfogre Dec 2, 2022
bd1af5b
Merge branch 'main' into feature/bots
wolfogre Dec 5, 2022
fdd3444
fix: add missing ctx
wolfogre Dec 5, 2022
704f720
refactor: rename packages
wolfogre Dec 5, 2022
5f74b35
refactor: rename files
wolfogre Dec 5, 2022
67c5c88
refactor: rename import alias
wolfogre Dec 5, 2022
f2c7bbb
refactor: rename to actions-proto-go
wolfogre Dec 6, 2022
c07d0c1
refactor: rename model
wolfogre Dec 6, 2022
56368f3
refactor: use ctx in models
wolfogre Dec 6, 2022
223782c
refactor: rename to actions
wolfogre Dec 6, 2022
da51e18
chore: make go-licenses
wolfogre Dec 6, 2022
4142218
chore: rename dbfs prefix
wolfogre Dec 6, 2022
f6f29d4
chore: upgrade act to v0.234.0
wolfogre Dec 6, 2022
55df4fd
chore: rename BOTS
wolfogre Dec 6, 2022
ab0a60e
Merge branch 'main' into feature/bots
wolfogre Dec 6, 2022
eaf266a
chore: fix lint
wolfogre Dec 6, 2022
26b8756
fix: deal with empty repo
wolfogre Dec 6, 2022
8377fc0
Merge branch 'main' into feature/bots
wolfogre Dec 7, 2022
202bbe2
docs: update comparison
wolfogre Dec 7, 2022
3dc7ffc
fix: add settings.actions_desc
wolfogre Dec 8, 2022
4914395
fix: remove timestamp
wolfogre Dec 8, 2022
266a122
Merge branch 'main' into feature/bots
wolfogre Dec 8, 2022
10ebbec
chore: rename to action
wolfogre Dec 9, 2022
9b6b848
fix: layout
wolfogre Dec 9, 2022
901914e
feat: move summary to header
wolfogre Dec 9, 2022
d378a78
Merge branch 'main' into feature/bots
wolfogre Dec 9, 2022
dfa1b61
Merge branch 'main' into feature/bots
wolfogre Dec 12, 2022
22203ee
Update modules/notification/actions/helper.go
wolfogre Dec 12, 2022
dbef504
fix: truncated title
wolfogre Dec 12, 2022
7a34d37
fix: use ctx
wolfogre Dec 12, 2022
86d6598
fix: use LONGBLOB
wolfogre Dec 12, 2022
dbdfd26
chore: rename to workflows.go
wolfogre Dec 12, 2022
4da0a65
chore: migrations v236
wolfogre Dec 12, 2022
a6e39ca
Merge branch 'main' into feature/bots
wolfogre Dec 12, 2022
59c3707
Merge branch 'main' into feature/bots
wolfogre Dec 12, 2022
705fbb4
Fix permission check on http push
lunny Dec 12, 2022
d41fb40
docs: comment for V1AlphaRoute
wolfogre Dec 12, 2022
5cfc48c
fix: template format
wolfogre Dec 12, 2022
cca23dd
feat: rename bot user to gitea-actions
wolfogre Dec 12, 2022
d4c47ac
fix: remove useless grpc routers
wolfogre Dec 12, 2022
cc19ab5
Merge branch 'main' into feature/bots
wolfogre Dec 12, 2022
1c9288f
fix: list runners
wolfogre Dec 12, 2022
e69e829
fix: remove ActionTask.GetRepo
wolfogre Dec 12, 2022
d73db88
fix: use right class
wolfogre Dec 12, 2022
ef20a02
fix: use web.Bind
wolfogre Dec 12, 2022
4f7597b
chore: mod tidy
wolfogre Dec 12, 2022
6c62213
Merge branch 'main' into feature/bots
wolfogre Dec 13, 2022
ab98c3f
Merge branch 'main' into feature/bots
wolfogre Dec 19, 2022
215d80f
Update models/actions/run.go
wolfogre Dec 19, 2022
b03f6e5
fix: remove meanless code
wolfogre Dec 19, 2022
825b838
fix: margin
wolfogre Dec 19, 2022
9c3395c
chore: removed to shared
wolfogre Dec 19, 2022
118a454
fix: trasfer log when stop zombie tasks
wolfogre Dec 19, 2022
ab4350b
Merge branch 'main' into feature/bots
wolfogre Dec 20, 2022
b54f148
Revert "Add AES GCM encryption provider"
wolfogre Dec 22, 2022
88e813d
Revert "Add simple master key provider for secret encryption"
wolfogre Dec 22, 2022
d183b32
Merge branch 'main' into feature/bots
wolfogre Dec 22, 2022
058675f
fix: use new secrets
wolfogre Dec 22, 2022
34be6b5
fix: remove old secret model
wolfogre Dec 22, 2022
f8d8209
Merge remote-tracking branch 'origin/feature/bots' into feature/bots
wolfogre Dec 22, 2022
aee01d1
chore: remove FindObjects
wolfogre Dec 22, 2022
fa701d0
chore: remove Hijack
wolfogre Dec 22, 2022
abf96d1
chore: remove secrets ini
wolfogre Dec 22, 2022
c326ea5
chore: update copyright
wolfogre Dec 22, 2022
9eafbad
chore: reorganize locale of actions
wolfogre Dec 22, 2022
cce781a
chore: remove comments
wolfogre Dec 23, 2022
4782792
Merge branch 'main' into feature/bots
wolfogre Dec 23, 2022
255d778
fix: last eight token
wolfogre Dec 23, 2022
950a5ad
Merge branch 'main' into feature/bots
wolfogre Dec 23, 2022
a6917db
fix: do not init cron for actions when it's disabled
wolfogre Dec 23, 2022
3c68011
fix: tidy tmpl
wolfogre Dec 23, 2022
3462760
Merge branch 'main' into feature/bots
wolfogre Dec 23, 2022
a67e14d
chore: fmt code
wolfogre Dec 23, 2022
567996d
Merge branch 'main' into feature/bots
wolfogre Dec 26, 2022
9fd6b38
Merge branch 'main' into feature/bots
wolfogre Dec 27, 2022
d995fc6
Merge branch 'main' into feature/bots
wolfogre Dec 28, 2022
c355172
fix: check reqRepoActionsWriter
wolfogre Dec 27, 2022
1f48a9a
fix: check if can_cancel and can_rerun
wolfogre Dec 28, 2022
c393a9c
Merge branch 'main' into feature/bots
wolfogre Dec 28, 2022
d8f2343
fix: auth return
wolfogre Dec 28, 2022
bc7b575
fix: update locale
wolfogre Dec 29, 2022
6bbce09
fix: remove old secrets tab
wolfogre Dec 29, 2022
8717c42
fix: CanRerun
wolfogre Dec 29, 2022
f11a31e
Merge branch 'main' into feature/bots
wolfogre Dec 29, 2022
c840940
fix: import
wolfogre Dec 29, 2022
ec02056
refactor: mv modules/notification/actions to services/actions
wolfogre Dec 29, 2022
5ae2816
chore: use webhook_model alias
wolfogre Dec 29, 2022
a145ec2
fix: do not init actions service when disabled
wolfogre Dec 29, 2022
3db95bf
fix: check oauth2 user id
wolfogre Dec 29, 2022
133437d
Merge branch 'main' into feature/bots
wolfogre Dec 30, 2022
53afbce
Merge branch 'main' into feature/bots
wolfogre Jan 3, 2023
9b0203b
Update custom/conf/app.example.ini
wolfogre Jan 4, 2023
2917057
Update models/actions/status.go
wolfogre Jan 4, 2023
9b00ded
Update models/actions/task_list.go
wolfogre Jan 4, 2023
0f824b6
Update models/user/user_system.go
wolfogre Jan 4, 2023
1faa885
Update models/user/user_system.go
wolfogre Jan 4, 2023
66785e2
Update modules/actions/log.go
wolfogre Jan 4, 2023
cd2af5d
fix: check if steps are empty
wolfogre Jan 3, 2023
d33e9fc
chore: sort svgs
wolfogre Jan 4, 2023
5e58ede
docs: comment for DEFAULT_ACTIONS_URL
wolfogre Jan 4, 2023
5925722
chore: move statusNames
wolfogre Jan 4, 2023
5d938eb
fix: use container.Set
wolfogre Jan 4, 2023
7f6a803
fix: omit total in FindTasks
wolfogre Jan 4, 2023
2c686e8
fix: add restraints for models
wolfogre Jan 4, 2023
d5e6d95
refactor: rename Number to Index
wolfogre Jan 4, 2023
911aea1
docs: add actions to cheat sheet
wolfogre Jan 4, 2023
0887e98
refactor: getPoster
wolfogre Jan 4, 2023
6148e4c
fix: rename to GetPossibleUserByID
wolfogre Jan 4, 2023
95167fd
chore: rename to NumActionRuns
wolfogre Jan 4, 2023
a222cb5
docs: fix format
wolfogre Jan 4, 2023
925f7f1
chore: new way to trim entries
wolfogre Jan 4, 2023
0ecb0b4
Update modules/setting/actions.go
wolfogre Jan 4, 2023
4b15a33
chore: format code
wolfogre Jan 4, 2023
0d2945f
Merge branch 'main' into feature/bots
wolfogre Jan 4, 2023
e35a046
Update services/auth/basic.go
wolfogre Jan 4, 2023
066097a
Update services/forms/runner.go
wolfogre Jan 4, 2023
c3b37c4
Update services/actions/clear_tasks.go
wolfogre Jan 4, 2023
b4c692a
chore: format code
wolfogre Jan 5, 2023
2ae7f54
Merge branch 'main' into feature/bots
wolfogre Jan 5, 2023
b884772
Apply suggestions from code review
wolfogre Jan 5, 2023
24446cb
fix: add less for runners
wolfogre Jan 5, 2023
6017329
chore: lint codes
wolfogre Jan 5, 2023
ede9a5f
chore: add comments
wolfogre Jan 5, 2023
bb3eb5e
fix: use ctx
wolfogre Jan 5, 2023
e8dbe82
fix: use %w
wolfogre Jan 5, 2023
4bb8604
chore: add comments
wolfogre Jan 5, 2023
08383bd
chore: simplify truncateContent
wolfogre Jan 5, 2023
c3d7f15
chore: remove CreateRunnerForm
wolfogre Jan 5, 2023
eee6624
fix: simplify deleting
wolfogre Jan 5, 2023
c510fdb
chore: simplify IsActions
wolfogre Jan 5, 2023
a4b2cf2
feat: calculate duration
wolfogre Jan 5, 2023
b1013a4
refactor: shard runner templates
wolfogre Jan 5, 2023
92b117f
test: fix import cycle in dbfs test
wolfogre Jan 5, 2023
730af9b
fix: add missing translations
wolfogre Jan 5, 2023
22496aa
Update models/actions/task.go
wolfogre Jan 5, 2023
63e8238
Update models/actions/task_step.go
wolfogre Jan 5, 2023
2ac8410
fix: translation keys
wolfogre Jan 5, 2023
49e307b
fix: show never when LastOnline is 0
wolfogre Jan 5, 2023
a4df058
Merge branch 'main' into feature/bots
wolfogre Jan 6, 2023
d7aa501
fix: NumClosedActionRuns
wolfogre Jan 6, 2023
9bd3ea4
fix: map to DEFAULT_ACTIONS_URL
wolfogre Jan 6, 2023
ff75cbd
chore: fix log
wolfogre Jan 6, 2023
326ae5d
fix: keep original commit message
wolfogre Jan 6, 2023
05c08ec
chore: format runner id
wolfogre Jan 6, 2023
4bc6d73
fix: split and trim labels
wolfogre Jan 6, 2023
a6f8f10
fix: add docs link for runner
wolfogre Jan 6, 2023
91dfef0
feat: LocaleString for status
wolfogre Jan 6, 2023
243b769
feat: locale status for runner
wolfogre Jan 6, 2023
7a4d4f0
chore: use new dropdown icon
wolfogre Jan 6, 2023
e61d655
feat: show no runners available
wolfogre Jan 6, 2023
6f6bfc5
feat: more translations
wolfogre Jan 6, 2023
aba1c03
feat: improve listing runs
wolfogre Jan 6, 2023
fc1d243
chore: remove fetchMockData
wolfogre Jan 6, 2023
4b1d3c7
fix: ignore events caused by actions for actions notifier only
wolfogre Jan 6, 2023
748fd3d
chore: add init.go to actions
wolfogre Jan 6, 2023
e249b39
chore: rename to actions.runners.last_online
wolfogre Jan 6, 2023
4ebd096
fix: remove spaces between labels
wolfogre Jan 6, 2023
4c65c1d
Merge branch 'main' into feature/bots
wolfogre Jan 6, 2023
21db670
fix: use webhook_module
wolfogre Jan 6, 2023
4b2bf7a
Merge branch 'main' into feature/bots
wolfogre Jan 6, 2023
5e9d4f7
Merge branch 'main' into feature/bots
wolfogre Jan 9, 2023
f414fd6
Merge branch 'main' into feature/bots
wolfogre Jan 9, 2023
f114a9c
fix: ctx for NewCommitStatus
wolfogre Jan 9, 2023
3c2bffd
Merge branch 'main' into feature/bots
wolfogre Jan 9, 2023
335873e
chore: remove exp
wolfogre Jan 10, 2023
5442440
fix: order by index
wolfogre Jan 10, 2023
e65f69f
Merge branch 'main' into feature/bots
wolfogre Jan 10, 2023
39a5e72
chore: update go-licenses
wolfogre Jan 10, 2023
409f11c
feat: use template modal
wolfogre Jan 10, 2023
883781c
Merge branch 'main' into feature/bots
wolfogre Jan 10, 2023
b171042
Merge branch 'main' into feature/bots
wolfogre Jan 11, 2023
e73d010
Update web_src/js/components/RepoActionView.vue
wolfogre Jan 11, 2023
1e45c2c
fix: use declared colors
wolfogre Jan 11, 2023
59beb2d
feat: add _actions.less
wolfogre Jan 11, 2023
11b0f84
chore: getLogsContainer
wolfogre Jan 11, 2023
563d798
chore: logsContainer
wolfogre Jan 11, 2023
0f6c886
chore: rename
wolfogre Jan 11, 2023
d572c22
Merge branch 'main' into feature/bots
wolfogre Jan 11, 2023
3edc5d7
chore: format css
wolfogre Jan 11, 2023
1c87be2
chore: use SliceContains
wolfogre Jan 11, 2023
14593a8
fix: fetch data with url
wolfogre Jan 11, 2023
f5b5538
fix: style for log lines
wolfogre Jan 11, 2023
2e8aff7
chore: init ansiToHTML in data()
wolfogre Jan 11, 2023
5e898b3
fix: format duration in backend
wolfogre Jan 11, 2023
358d494
fix: i18nCancel
wolfogre Jan 11, 2023
83534ad
chore: rename to fetchJob
wolfogre Jan 11, 2023
1072f99
fix: extract the fetch into a submethod
wolfogre Jan 11, 2023
2e0bf2b
fix: rename elJobStepLogs
wolfogre Jan 11, 2023
ec88ef3
Merge branch 'main' into feature/bots
wolfogre Jan 12, 2023
6e40494
fix: UpdateTaskByState
wolfogre Jan 12, 2023
5fb2d7f
feat: improve view page
wolfogre Jan 12, 2023
87f7874
chore: use slice as LogIndexes
wolfogre Jan 12, 2023
85e5307
Merge branch 'main' into feature/bots
wolfogre Jan 12, 2023
26925e2
chore: fix go-licenses
wolfogre Jan 12, 2023
b71f539
chore: improve loadJob
wolfogre Jan 12, 2023
d5e0ee5
fix: var names
wolfogre Jan 12, 2023
ec4f646
chore: stop interval
wolfogre Jan 12, 2023
11fec35
Revert "chore: logsContainer"
wolfogre Jan 12, 2023
4c0cc46
fix: props type
wolfogre Jan 12, 2023
011e59e
chore: improve runnr list ui
wolfogre Jan 12, 2023
1f2b706
fix: remove unnecessary delay
wolfogre Jan 12, 2023
7cc2dfc
feat: improve rerun button ui
wolfogre Jan 12, 2023
2e5a834
Merge branch 'main' into feature/bots
wolfogre Jan 12, 2023
1bf2441
chore: update go-licenses
wolfogre Jan 12, 2023
c664e52
chore: no need to upgrade x/tools
wolfogre Jan 12, 2023
fe46662
Merge branch 'main' into feature/bots
wolfogre Jan 13, 2023
8b626db
fix: marshal empty slice to [] in json
wolfogre Jan 13, 2023
1c44b7e
Merge branch 'main' into feature/bots
wolfogre Jan 13, 2023
9500a5a
Merge branch 'main' into feature/bots
wolfogre Jan 13, 2023
15fc91e
Merge branch 'main' into feature/bots
wolfogre Jan 14, 2023
1c30052
Merge branch 'main' into feature/bots
wolfogre Jan 16, 2023
313f104
Merge branch 'main' into feature/bots
wolfogre Jan 17, 2023
60e86ab
Merge branch 'main' into feature/bots
wolfogre Jan 18, 2023
98107ef
chore: format code
wolfogre Jan 18, 2023
39b55de
Update options/locale/locale_en-US.ini
wolfogre Jan 18, 2023
011e320
fix: fix id style
wolfogre Jan 18, 2023
faad49e
fix: number color
wolfogre Jan 18, 2023
5030055
Revert "fix: i18nCancel"
wolfogre Jan 18, 2023
49c49e7
fix: use cancel icon
wolfogre Jan 18, 2023
3b1fa79
chore: lint code
wolfogre Jan 18, 2023
c70da27
fix: lint code
wolfogre Jan 18, 2023
075981b
Merge branch 'main' into feature/bots
wolfogre Jan 19, 2023
d402cc2
Merge branch 'main' into feature/bots
wolfogre Jan 20, 2023
ad78f9d
Merge branch 'main' into feature/bots
wolfogre Jan 20, 2023
64c8c0d
Merge branch 'main' into feature/bots
lunny Jan 20, 2023
452a672
Merge branch 'main' into feature/bots
wolfogre Jan 27, 2023
2552ec1
Merge branch 'main' into feature/bots
wolfogre Jan 28, 2023
dd319a9
chore: follow new NotifyIssueChangeStatus
wolfogre Jan 28, 2023
46e1dbf
Merge branch 'main' into feature/bots
wolfogre Jan 29, 2023
5071924
Merge branch 'main' into feature/bots
wolfogre Jan 29, 2023
d03975f
Merge branch 'main' into feature/bots
wolfogre Jan 30, 2023
b8b856c
Merge branch 'main' into feature/bots
jolheiser Jan 30, 2023
ff6a50b
feat: add upload-artifact http api
fuxiaohei Dec 8, 2022
3e32232
feat: add action artifact table
fuxiaohei Dec 8, 2022
7fc663f
feat(actions-artifacts): finish download artifacts apis
fuxiaohei Dec 14, 2022
30aa811
fix(actions-artifacts): merge conflicts
fuxiaohei Jan 5, 2023
bd8d847
feat(actions-artifacts): use uniform pipeline api url for artifact, f…
fuxiaohei Jan 5, 2023
cf7b71d
feat(actions-artifacts): add comments and license message
fuxiaohei Jan 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions assets/go-licenses.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions cmd/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Gitea or set your environment appropriately.`, "")
userID, _ := strconv.ParseInt(os.Getenv(repo_module.EnvPusherID), 10, 64)
prID, _ := strconv.ParseInt(os.Getenv(repo_module.EnvPRID), 10, 64)
deployKeyID, _ := strconv.ParseInt(os.Getenv(repo_module.EnvDeployKeyID), 10, 64)
actionPerm, _ := strconv.ParseInt(os.Getenv(repo_module.EnvActionPerm), 10, 64)

hookOptions := private.HookOptions{
UserID: userID,
Expand All @@ -194,6 +195,7 @@ Gitea or set your environment appropriately.`, "")
GitPushOptions: pushOptions(),
PullRequestID: prID,
DeployKeyID: deployKeyID,
ActionPerm: int(actionPerm),
}

scanner := bufio.NewScanner(os.Stdin)
Expand Down
16 changes: 16 additions & 0 deletions custom/conf/app.example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2550,3 +2550,19 @@ ROUTER = console
;PROXY_URL =
;; Comma separated list of host names requiring proxy. Glob patterns (*) are accepted; use ** to match all hosts.
;PROXY_HOSTS =

; [actions]
;; Enable/Disable actions capabilities
;ENABLED = false
;; Default address to get action plugins, e.g. the default value means downloading from "https://gitea.com/actions/checkout" for "uses: actions/checkout@v3"
;DEFAULT_ACTIONS_URL = https://gitea.com

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; settings for action logs, will override storage setting
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;[storage.actions_log]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; storage type
;STORAGE_TYPE = local
35 changes: 35 additions & 0 deletions docs/content/doc/advanced/config-cheat-sheet.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,41 @@ PROXY_URL = socks://127.0.0.1:1080
PROXY_HOSTS = *.github.com
```

## Actions (`actions`)

- `ENABLED`: **false**: Enable/Disable actions capabilities
- `DEFAULT_ACTIONS_URL`: **https://gitea.com**: Default address to get action plugins, e.g. the default value means downloading from "https://gitea.com/actions/checkout" for "uses: actions/checkout@v3"

`DEFAULT_ACTIONS_URL` indicates where should we find the relative path action plugin. i.e. when use an action in a workflow file like

```yaml
name: versions
on:
push:
branches:
- main
- releases/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
```

Now we need to know how to get actions/checkout, this configuration is the default git server to get it. That means we will get the repository via git clone ${DEFAULT_ACTIONS_URL}/actions/checkout and fetch tag v3.

To help people who don't want to mirror these actions in their git instances, the default value is https://gitea.com
To help people run actions totally in their network, they can change the value and copy all necessary action repositories into their git server.

Of course we should support the form in future PRs like

```yaml
steps:
- uses: gitea.com/actions/checkout@v3
```

although Github don't support this form.

## Other (`other`)

- `SHOW_FOOTER_BRANDING`: **false**: Show Gitea branding in the footer.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/doc/features/comparison.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ _Symbols used in table:_
| Deploy Tokens | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Repository Tokens with write rights | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ |
| RSS Feeds | ✓ | ✘ | ✓ | ✘ | ✘ | ✘ | ✘ |
| Built-in CI/CD | [✘](https://github.com/go-gitea/gitea/issues/13539) | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| Built-in CI/CD | | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| Subgroups: groups within groups | [✘](https://github.com/go-gitea/gitea/issues/1872) | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ |
| Interaction with other instances | [/](https://github.com/go-gitea/gitea/issues/18240) | ✘ | ✘ | ✘ | ✘ | ✘ | ✘ |
| Mermaid diagrams in Markdown | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
Expand Down
2 changes: 1 addition & 1 deletion docs/content/doc/features/comparison.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ _表格中的符号含义:_
| 内置容器 Registry | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| 外部 Git 镜像 | ✓ | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ |
| WebAuthn (2FA) | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ? |
| 内置 CI/CD | | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| 内置 CI/CD | | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| 子组织:组织内的组织 | [✘](https://github.com/go-gitea/gitea/issues/1872) | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ |

#### 代码管理
Expand Down
2 changes: 1 addition & 1 deletion docs/content/doc/features/comparison.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ menu:
| 內建 Container Registry | [✘](https://github.com/go-gitea/gitea/issues/2316) | ✘ | ✘ | ✓ | ✓ | ✘ | ✘ |
| 對外部 Git 鏡像 | ✓ | ✓ | ✘ | ✘ | ✓ | ✓ | ✓ |
| FIDO (2FA) | ✓ | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ |
| 內建 CI/CD | | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| 內建 CI/CD | | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |
| 子群組: 群組中的群組 | ✘ | ✘ | ✘ | ✓ | ✓ | ✘ | ✓ |

## 程式碼管理
Expand Down
15 changes: 14 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module code.gitea.io/gitea
go 1.18

require (
code.gitea.io/actions-proto-go v0.2.0
code.gitea.io/gitea-vet v0.2.2
code.gitea.io/sdk/gitea v0.15.1
codeberg.org/gusted/mcaptcha v0.0.0-20220723083913-4f3072e1d570
Expand All @@ -17,6 +18,7 @@ require (
github.com/PuerkitoBio/goquery v1.8.0
github.com/alecthomas/chroma/v2 v2.4.0
github.com/blevesearch/bleve/v2 v2.3.6
github.com/bufbuild/connect-go v1.3.1
github.com/buildkite/terminal-to-html/v3 v3.7.0
github.com/caddyserver/certmagic v0.17.2
github.com/chi-middleware/proxy v1.1.1
Expand Down Expand Up @@ -74,6 +76,7 @@ require (
github.com/microcosm-cc/bluemonday v1.0.21
github.com/minio/minio-go/v7 v7.0.46
github.com/msteinert/pam v1.1.0
github.com/nektos/act v0.0.0
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/niklasfasching/go-org v1.6.5
github.com/oliamb/cutter v0.2.2
Expand Down Expand Up @@ -102,6 +105,8 @@ require (
golang.org/x/sys v0.3.0
golang.org/x/text v0.5.0
golang.org/x/tools v0.1.12
google.golang.org/grpc v1.47.0
google.golang.org/protobuf v1.28.1
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
gopkg.in/ini.v1 v1.67.0
gopkg.in/yaml.v3 v3.0.1
Expand Down Expand Up @@ -158,12 +163,14 @@ require (
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-ap/errors v0.0.0-20221205040414-01c1adfc98ea // indirect
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
github.com/go-enry/go-oniguruma v1.2.1 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-ini/ini v1.67.0 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/errors v0.20.3 // indirect
github.com/go-openapi/inflect v0.19.0 // indirect
Expand Down Expand Up @@ -205,6 +212,7 @@ require (
github.com/magiconair/properties v1.8.6 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/markbates/going v1.0.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mholt/acmez v1.0.4 // indirect
Expand All @@ -229,7 +237,9 @@ require (
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
github.com/rhysd/actionlint v1.6.22 // indirect
github.com/rivo/uniseg v0.4.3 // indirect
github.com/robfig/cron v1.2.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/rs/xid v1.4.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
Expand Down Expand Up @@ -259,9 +269,10 @@ require (
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/mod v0.7.0 // indirect
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde // indirect
golang.org/x/time v0.3.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
Expand All @@ -273,6 +284,8 @@ replace github.com/shurcooL/vfsgen => github.com/lunny/vfsgen v0.0.0-20220105142

replace github.com/blevesearch/zapx/v15 v15.3.6 => github.com/zeripath/zapx/v15 v15.3.6-alignment-fix

replace github.com/nektos/act => gitea.com/gitea/act v0.234.0

exclude github.com/gofrs/uuid v3.2.0+incompatible

exclude github.com/gofrs/uuid v4.0.0+incompatible
Expand Down
Loading