Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
sillyguodong 0445675a10
Inject version when building and report version to Gitea via log and header (#43)
close #42
1. Inject runner version when `make build`
After building, executing command line: `./act_runner -v` or `./act_runner --version`, the version of runner is printed.
![image](/attachments/e25efbd3-79b3-49a5-b93f-42646d42c707)

2. In `Actions` UI:
![image](/attachments/36c57470-2a1d-4796-9eb0-de3988ab88e1)

3. Set request header in http client interceptor.

Co-authored-by: sillyguodong <gedong_1994@163.com>
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/43
Reviewed-by: delvh <dev.lh@web.de>
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: sillyguodong <sillyguodong@noreply.gitea.io>
Co-committed-by: sillyguodong <sillyguodong@noreply.gitea.io>
2023-03-16 16:53:44 +01:00
.forgejo/workflows run test from Actions 2023-03-01 00:10:02 +01:00
.gitea/workflows Enable action as CI to test/build/release (#26) 2023-02-24 17:52:04 +01:00
artifactcache fix lint error (#30) 2023-02-28 23:53:30 +01:00
client Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
cmd Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
config define FORGEJO_RUNNER_FILE 2023-03-09 18:25:54 +01:00
core Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
engine feat: move main task logic to runtime package 2022-11-24 15:37:06 +08:00
poller s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
register s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
runtime Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
.gitignore .gitignore forgejo-runner 2023-03-08 15:02:28 +01:00
.golangci.yml chore: add .golangci config 2022-11-24 15:36:28 +08:00
build.go Support cache (#25) 2023-02-28 23:48:37 +01:00
go.mod upgrade to codeberg.org/forgejo/act v1.1.0 2023-03-11 15:24:54 +01:00
go.sum upgrade to codeberg.org/forgejo/act v1.1.0 2023-03-11 15:24:54 +01:00
LICENSE Add license 2022-11-24 15:36:16 +08:00
main.go s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
Makefile Inject version when building and report version to Gitea via log and header (#43) 2023-03-16 16:53:44 +01:00
README.md trigger the build 2023-03-01 00:32:50 +01:00

Forgejo Actions runner

Runs workflows found in .forgejo/workflows, using a format similar to GitHub actions but with a Free Software implementation.

It is compatible with Forgejo v1.19.0-0-rc0