The filters of GET /repos/{owner}/{repo}/actions/runs.
'''Only what the caller set is sent.''' An absent filter is not the same request as an empty one: omitting status asks for every run, and sending status= is a request Forgejo has no reading of. Nothing here has a default to fall back on, which is why ActionRunQuery.Empty renders to no parameters at all.
ActionRunQuery.Empty
.triggeredBy("push")
.withStatus(ActionStatus.Failure)
.onRef("refs/heads/main")
Value parameters
- events
-
which webhook events to include —
push,pull_request,workflow_dispatch. Sent as a repeated query parameter, one per event, because the spec declares it as an array - headSha
-
only runs against this commit
- ref
-
only runs involving this Git reference, for example
refs/heads/main - runNumber
-
the per-repository counter of one run — ActionRun.indexInRepo, '''not''' RunId
- statuses
-
which lifecycle states to include, likewise repeated. ActionStatus rather than
Stringso a typo is a compile error instead of an empty page - workflowId
-
only runs of this workflow file
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any