consid-germany/Check Gate State

Checks the state of a gate and cancels the workflow if the gate state is closed.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: consid-germany/gates@b9ce0457aae2820423ae1a450fa6be5a2dc7de80 # v1.4.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
gitHubApiBaseUrlURL of the GitHub API of your gates deployment.yes
groupSpecify the group of the gate of which the gate state is checked during the workflow execution.yes
serviceSpecify the service of the gate of which the gate state is checked during the workflow execution.yes
environmentSpecify the environment of the gate of which the gate state is checked during the workflow execution.yes
failOnClosedGateWhether the action should fail the workflow if the gate state is closed. Set to false to only set the gateState output instead of failing.notrue
namedescription
gateStateState of the gate as returned by the gates API, e.g. 'open' or 'closed'