gitea/models/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
..
archive_test.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
archiver.go Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 -07:00
attachment_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
attachment.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
avatar.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
collaboration_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
collaboration.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
fork_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
fork.go Refactor find forks and fix possible bugs that weak permissions check (#32528) 2024-11-18 03:06:25 +00:00
git.go Add merge style fast-forward-only (#28954) 2024-02-12 23:37:23 +01:00
issue.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
language_stats.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
license.go Fix missing license when sync mirror (#33255) 2025-01-14 05:44:12 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
mirror.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
org_repo.go Fix remove org user failure on mssql (#34449) 2025-05-14 02:33:56 +08:00
pushmirror_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pushmirror.go Refactor push mirror find and add check for updating push mirror (#32539) 2024-11-18 05:59:04 +00:00
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
redirect.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
release_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
release.go Remove the duplicated function GetTags (#35375) 2025-08-29 01:11:42 +00:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_list_test.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
repo_list.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
repo_unit_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repo_unit.go Support actions and reusable workflows from private repos (#32562) 2025-10-25 17:37:33 +00:00
repo.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00
search.go Fix recentupdate sorting bugs (#32505) 2024-11-15 04:36:22 +00:00
star_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
star.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
topic_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
topic.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
transfer.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
update.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
upload.go Refactor legacy code (#35708) 2025-10-20 11:43:08 -07:00
user_repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user_repo.go Fix some user name usages (#33689) 2025-02-23 12:33:43 +00:00
watch_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
watch.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
wiki_test.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00
wiki.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 -07:00