forgejo/routers/api/actions/runner
Jason Song 38ea77ebbe
Remove deprecated stuff for runners (#30930)
It's time (maybe somewhat late) to remove some deprecated stuff for the
runner.

- `x-runner-version`: runners needn't to report version in every
request, they will call `Declare`.
- `AgentLabels`: runners will report them as `Labels`.

(cherry picked from commit b9396a9b852e4fea0e2c39ef3ef2fdfbc9ea248a)

Conflicts:
	routers/api/actions/runner/interceptor.go
	trivial conflict because
	  e80466f734 Resolve lint for unused parameter and unnecessary type arguments (#30750)
	was not cherry-picked
2024-05-12 20:03:10 +02:00
..
interceptor.go Remove deprecated stuff for runners (#30930) 2024-05-12 20:03:10 +02:00
runner.go Remove deprecated stuff for runners (#30930) 2024-05-12 20:03:10 +02:00
utils.go Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00