You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# the statuses ["error", "failing", "pending", "success"] represent possible statuses for 'commit statuses'
356
+
# see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks#types-of-status-checks-on-github
357
+
# > "conclusions" is optional and defaults to ["success"].
358
+
# Possible values are ["action_required", "cancelled", "failure", "neutral", "skipped", "stale", "success", "timed_out"].
359
+
# If the value "any" is included in "conclusions", the statuses will be expanded to all possible values listed above.
360
+
# Conclustions are only evaluated if the status is in the "completed" state so this must be included in the "statuses" list.
361
+
# Also it has no effect on 'commit statuses' since they do not have conclusions.
362
+
has_status_check:
363
+
statuses: ["any"]
364
+
conclusions: ["any"]
365
+
checks:
366
+
- status-name-[0-9]
367
+
368
+
# DEPRECATED: Use "has_workflow" below instead, which is more flexible.
345
369
# "has_workflow_result" is satisfied if the GitHub Actions workflow runs that
346
370
# are specified all finished and concluded with one of the conclusions
347
371
# specified. "conclusions" is optional and defaults to ["success"].
@@ -355,6 +379,24 @@ if:
355
379
- ".github/workflows/a.yml"
356
380
- ".github/workflows/b.yml"
357
381
382
+
# "has_workflow" is satisfied if the workflows that are specified are
383
+
# in one of the statuses specified. If statuses includes "completed" and the workflow
384
+
# is in that state it must also concluded with one of the conclusions specified additionally to statify has_workflow.
385
+
# "workflows" are required and are evaluated as regular expressions.
386
+
# "statuses" is optional and defaults to ["completed"].
0 commit comments