mirror of https://code.forgejo.org/forgejo/runner
63c1734bb5
If a job uses a [reusable workflow](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-of-jobsjob_iduses), the job's steps sequence will be empty. But in log reporter, we don't check the length of `r.state.Steps`, which may cause panic. ``` go if v, ok := entry.Data["stepNumber"]; ok { if v, ok := v.(int); ok { step = r.state.Steps[v] } } ``` Reviewed-on: https://gitea.com/gitea/act_runner/pulls/82 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Zettat123 <zettat123@gmail.com> Co-committed-by: Zettat123 <zettat123@gmail.com> |
||
---|---|---|
.forgejo/workflows | ||
.gitea/workflows | ||
artifactcache | ||
client | ||
cmd | ||
config | ||
core | ||
engine | ||
poller | ||
register | ||
runtime | ||
.dockerignore | ||
.gitignore | ||
.golangci.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
build.go | ||
go.mod | ||
go.sum | ||
main.go |
README.md
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