我正在尝试 GitHub Actions 中的过滤器,但它返回此错误:
Digest: sha256:f747d8611fb26448f06a4245e252204859df6c7f81f04c248497c3e68c7740dd
Status: Downloaded newer image for gcr.io/github-actions-images/action-runner:latest
jq: error (at /github/workflow/event.json:1): Cannot iterate over null (null)
这是我的 main.workflow:
workflow "New workflow" {
on = "push"
resolves = ["label-filter"]
}
action "label-filter" {
uses = "actions/bin/filter@master"
args = "label ready"
}
action "./github/testdeploy" {
uses = "./github/testdeploy"
needs = "label-filter"
}
尝试引用以前的提交而不是 master (actions/bin/filter@18d4c9c),但是我仍然得到同样的错误。
我的存储库也是私有的,不确定这是否与它有关。
谢谢!