To use the action simply add the following lines to your .github/main.workflow:
action "Check Suite Passes" {
uses = "docker://cirrusactions/check-suite:latest"
env = {
APP_NAME = "Super App"
}
}
This action will check that a check suite succeeded. See .github/main.workflow for a full demo workflow.
Let's say a repository has Cirrus CI App installed that uses Checks API to report CI build statuses. Then your
.github/main.workflow can look like this:
workflow "Cirrus CI Demo" {
on = "check_suite"
resolves = "Cirrus CI Passes"
}
action "Cirrus CI Passes" {
uses = "docker://cirrusactions/check-suite:latest"
env = {
APP_NAME = "Cirrus CI"
}
}
