]> source.dussan.org Git - gitea.git/commit
Remove deprecated stuff for runners (#30930) (#30931)
authorGiteabot <teabot@gitea.io>
Fri, 10 May 2024 08:57:30 +0000 (16:57 +0800)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 08:57:30 +0000 (16:57 +0800)
commit45475250bd3353c8ec77c9379cc851eac96a23a6
tree314a77ae3c0e1e270b1374a95abac9ba3e6fb6b0
parentdf5513978a630355a28b6b42fcc63fe5d70652d8
Remove deprecated stuff for runners (#30930) (#30931)

Backport #30930 by @wolfogre

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`.

Co-authored-by: Jason Song <i@wolfogre.com>
routers/api/actions/runner/interceptor.go
routers/api/actions/runner/runner.go