1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 14:44:41 +00:00
gitea/routers/web/shared
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
packages Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
secrets Respect original content when creating secrets (#24745) 2023-05-16 14:49:40 +08:00
user Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00