You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models/actions
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.
1 year ago
..
artifact.go Implement actions artifacts (#22738) 1 year ago
run.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
run_job.go Implement actions (#21937) 2 years ago
run_job_list.go Implement actions (#21937) 2 years ago
run_list.go Don't filter action runs based on state (#24711) 1 year ago
runner.go Support changing labels of Actions runner without re-registration (#24806) 1 year ago
runner_list.go Implement actions (#21937) 2 years ago
runner_token.go Implement actions (#21937) 2 years ago
status.go Require approval to run actions for fork pull request (#22803) 1 year ago
task.go Support changing labels of Actions runner without re-registration (#24806) 1 year ago
task_list.go Implement actions (#21937) 2 years ago
task_output.go Support upload `outputs` and use `needs` context on Actions (#24230) 1 year ago
task_step.go Implement actions (#21937) 2 years ago
utils.go Implement actions (#21937) 2 years ago
utils_test.go Implement actions (#21937) 2 years ago