]> source.dussan.org Git - gitea.git/commit
Gitea Actions add `base_ref`, `head_ref`, `api_url`, `ref_type` fields (#24356)
authorChristopherHX <christopher.homberger@web.de>
Thu, 27 Apr 2023 23:35:21 +0000 (01:35 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2023 23:35:21 +0000 (07:35 +0800)
commit6dfc0c87ec4fc20213025d72928320222af3a785
tree870826b8f32e58fc9155c5b75f7a6acabdbc8d0a
parentecf1f2d3f619e5e9dfe1e1782c39604d63ae4c38
Gitea Actions add `base_ref`, `head_ref`, `api_url`, `ref_type` fields (#24356)

As discussed in https://gitea.com/gitea/act_runner/issues/147
`github.base_ref` is empty.
This change adds these fields to the server side context data.
routers/api/actions/runner/utils.go