Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
a1012112796 65d2485f58
Add exec subcommand for runner so that we can run the tasks locally(#39)
Most codes are copied from https://gitea.com/gitea/act/src/branch/main/cmd
and do some small changes to make it run again

examples:

```SHELL
./act_runner exec -l
./act_runner exec -j lint
./act_runner exec -j lint -n
```

some example result:

![屏幕截图 2023-03-06 135735](/attachments/547bd05c-ade2-41f7-ba60-c9937fa32d5f)

![屏幕截图 2023-03-06 140643](/attachments/e8f48dba-c7f3-4daa-a163-aa9b36b1dc32)

Signed-off-by: a1012112796 <1012112796@qq.com>

fix #32

Reviewed-on: https://gitea.com/gitea/act_runner/pulls/39
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: Jason Song <i@wolfogre.com>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-committed-by: a1012112796 <1012112796@qq.com>
2023-03-08 14:59:52 +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 s|gitea.com/gitea/act_runner|codeberg.org/forgejo/runner| 2023-02-22 17:19:43 +01:00
cmd Add exec subcommand for runner so that we can run the tasks locally(#39) 2023-03-08 14:59:52 +01:00
config Add runner name to log (#37) 2023-03-08 14:58:59 +01:00
core Allow request an insecure gitea server (#18) 2023-02-15 16:51:14 +08: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 Add runner name to log (#37) 2023-03-08 14:58:59 +01:00
.gitignore Add runner name to log (#37) 2023-03-08 14:58:59 +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 Support cache (#25) 2023-02-28 23:48:37 +01:00
go.sum Support cache (#25) 2023-02-28 23:48:37 +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 Enable action as CI to test/build/release (#26) 2023-02-24 17:52:04 +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