gitea/routers/web/repo
Zettat123 c9beb0b01f
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Support actions and reusable workflows from private repos (#32562)
Resolve https://gitea.com/gitea/act_runner/issues/102

This PR allows administrators of a private repository to specify some
collaborative owners. The repositories of collaborative owners will be
allowed to access this repository's actions and workflows.

Settings for private repos:


![image](https://github.com/user-attachments/assets/e591c877-f94d-48fb-82f3-3b051f21557e)

---

This PR also moves "Enable Actions" setting to `Actions > General` page

<img width="960" alt="image"
src="https://github.com/user-attachments/assets/49337ec2-afb1-4a67-8516-5c9ef0ce05d4"
/>

<img width="960" alt="image"
src="https://github.com/user-attachments/assets/f58ee6d5-17f9-4180-8760-a78e859f1c37"
/>

---------

Signed-off-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2025-10-25 17:37:33 +00:00
..
actions Improve online runner check (#35722) 2025-10-24 12:02:52 -07:00
setting Support actions and reusable workflows from private repos (#32562) 2025-10-25 17:37:33 +00:00
activity.go Address some CodeQL security concerns (#35572) 2025-10-04 01:21:26 +08:00
attachment.go fix attachment file size limit in server backend (#35519) 2025-10-21 15:07:11 +00:00
blame.go Fix incorrect file links (#34189) 2025-04-13 12:27:31 -07:00
branch.go Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770) 2025-06-19 12:29:10 -07:00
code_frequency.go Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) 2025-03-28 21:04:40 -07:00
commit.go feat(diff): Enable commenting on expanded lines in PR diffs (#35662) 2025-10-19 18:19:12 +08:00
common_recentbranches.go Also display "recently pushed branch" alert on PR view (#35001) 2025-07-10 17:17:56 +00:00
compare_test.go feat(diff): Enable commenting on expanded lines in PR diffs (#35662) 2025-10-19 18:19:12 +08:00
compare.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
contributors.go
download.go Redirect to a presigned URL of HEAD for HEAD requests (#35088) 2025-07-16 11:22:45 +00:00
editor_apply_patch.go Honor delete branch on merge repo setting when using merge API (#35488) 2025-10-22 05:06:56 +00:00
editor_cherry_pick.go Honor delete branch on merge repo setting when using merge API (#35488) 2025-10-22 05:06:56 +00:00
editor_error.go Honor delete branch on merge repo setting when using merge API (#35488) 2025-10-22 05:06:56 +00:00
editor_fork.go Edit file workflow for creating a fork and proposing changes (#34240) 2025-06-22 12:43:43 +00:00
editor_preview.go Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
editor_test.go Remove wrong "git.DefaultContext" (#35364) 2025-08-27 16:31:21 +00:00
editor_uploader.go fix attachment file size limit in server backend (#35519) 2025-10-21 15:07:11 +00:00
editor_util.go Edit file workflow for creating a fork and proposing changes (#34240) 2025-06-22 12:43:43 +00:00
editor.go Use LFS object size instead of blob size when viewing a LFS file (#35679) 2025-10-16 17:42:54 +08:00
find.go
fork.go Edit file workflow for creating a fork and proposing changes (#34240) 2025-06-22 12:43:43 +00:00
githttp_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
githttp.go Support actions and reusable workflows from private repos (#32562) 2025-10-25 17:37:33 +00:00
helper.go
issue_comment.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
issue_content_history.go enable staticcheck QFxxxx rules (#34064) 2025-03-29 17:32:28 -04:00
issue_dependency.go
issue_label_test.go Validate hex colors when creating/editing labels (#34623) 2025-06-07 11:25:08 +03:00
issue_label.go Validate hex colors when creating/editing labels (#34623) 2025-06-07 11:25:08 +03:00
issue_list.go Move updateref and removeref to gitrepo and remove unnecessary open repository (#35511) 2025-09-19 08:04:18 -07:00
issue_lock.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
issue_new.go Move updateref and removeref to gitrepo and remove unnecessary open repository (#35511) 2025-09-19 08:04:18 -07:00
issue_page_meta.go
issue_pin.go
issue_poster.go
issue_stopwatch.go fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818) 2025-06-25 07:22:58 +08:00
issue_suggestions.go
issue_test.go
issue_timetrack.go
issue_view.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
issue_watch.go
issue.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
main_test.go
middlewares.go
migrate.go
milestone.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
packages.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
projects_test.go
projects.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
pull_review_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull_review.go Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 2025-07-16 21:33:33 +08:00
pull.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
recent_commits.go Hide activity contributors, recent commits and code frequrency left tabs if there is no code permission (#34053) 2025-03-28 21:04:40 -07:00
release_test.go
release.go Use git model to detect whether branch exist instead of gitrepo method (#35459) 2025-10-25 10:08:25 -07:00
render.go Make external iframe render work (#35730) 2025-10-23 08:01:38 +00:00
repo.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
search.go
star.go
topic.go
transfer.go
treelist_test.go support the open-icon of folder (#34168) 2025-04-28 19:51:32 -07:00
treelist.go Improve submodule relative path handling (#35056) 2025-07-14 23:28:34 +08:00
view_file.go Use LFS object size instead of blob size when viewing a LFS file (#35679) 2025-10-16 17:42:54 +08:00
view_home_test.go Fix repo file list partial reloading for submodules (#35183) 2025-07-31 09:34:51 +08:00
view_home.go Update JS deps, misc tweaks (#35643) 2025-10-12 21:07:15 +00:00
view_readme.go Use LFS object size instead of blob size when viewing a LFS file (#35679) 2025-10-16 17:42:54 +08:00
view_test.go
view.go Fix external render (#35727) 2025-10-22 23:41:38 +00:00
watch.go
webgit.go
wiki_test.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00
wiki.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 -07:00