forgejo/models
sillyguodong 8228751c55
Support changing labels of Actions runner without re-registration (#24806)
close #24540

related:
- Protocol: https://gitea.com/gitea/actions-proto-def/pulls/9
- Runner side: https://gitea.com/gitea/act_runner/pulls/201

changes:
- Add column of `labels` to table `action_runner`, and combine the value
of `agent_labels` and `custom_labels` column to `labels` column.
- Store `labels` when registering `act_runner`.
- Update `labels` when `act_runner` starting and calling `Declare`.
- Users cannot modify the `custom labels` in edit page any more.

other changes:
- Store `version` when registering `act_runner`.
- If runner is latest version, parse version from `Declare`. But older
version runner still parse version from request header.
2023-06-13 22:28:31 +08:00
..
actions Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
activities Use a separate admin page to show global stats, remove actions stat (#25062) 2023-06-03 22:03:41 +08:00
admin
asymkey
auth Add ability to set multiple redirect URIs in OAuth application UI (#25072) 2023-06-05 15:00:12 +08:00
avatars
db Fix parallelly generating index failure with Mysql (#24567) 2023-06-05 10:33:47 +00:00
dbfs
fixtures Fix duplicate Reviewed-by trailers (#24796) 2023-06-09 16:34:49 +02:00
git Fix parallelly generating index failure with Mysql (#24567) 2023-06-05 10:33:47 +00:00
issues Fix profile render when the README.md size is larger than 1024 bytes (#25131) 2023-06-13 09:02:25 +00:00
migrations Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
organization Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
packages Hide limited users if viewed by anonymous ghost (#25214) 2023-06-13 11:21:11 +08:00
perm Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
project
pull
repo Remove stars when repo goes private (#19904) 2023-06-05 13:25:43 +00:00
secret Respect original content when creating secrets (#24745) 2023-05-16 14:49:40 +08:00
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2023-05-12 08:43:27 +00:00
system
unit Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
unittest Test query must have "order by" explicitly to avoid unstable results (#24963) 2023-05-29 03:20:57 +00:00
user Show bot label next to username when rendering autor link if the user is a bot (#24943) 2023-05-26 18:58:11 +02:00
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go