0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 15:01:07 +01:00
gitea/services/forms
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
..
admin.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
auth_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
org.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
package_form.go Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo_branch_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
repo_form.go New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
repo_form_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_tag_form.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
runner.go Support changing labels of Actions runner without re-registration (#24806) 2023-06-13 22:28:31 +08:00
user_form.go Add ability to set multiple redirect URIs in OAuth application UI (#25072) 2023-06-05 15:00:12 +08:00
user_form_auth_openid.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
user_form_hidden_comments.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user_form_test.go Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00