GiteraGitera Docs

Security policies

Organization-wide rules checked against every workflow file — runtime versions, timeouts, required actions, approval gates, and runner restrictions.

Open in Gitera

Policies enforce security and reliability standards across all workflow files, so the standard is checked continuously — not remembered during code review.

Built-in rules

RuleWhat it enforcesConfig
ensure-python-versionJobs run a standardized Python versionrequiredVersion
ensure-node-versionJobs run an approved Node.js runtimerequiredVersion
enforce-timeoutWorkflows/jobs declare a timeout, stopping runaway billingmaxTimeoutMinutes
require-approvalDeployments to listed environments need approval gatesenvironments
ensure-action-existsA required step exists — e.g. actions/checkout@v4 or a security scanneraction
forbid-self-hosted-runnerSelf-hosted runners restricted to an allowlistallowList

Working with policies

Open Policies → New policy and pick a rule.

Fill its configuration — e.g. requiredVersion: "3.12" or maxTimeoutMinutes: 30.

Save. Every synced workflow file is checked against it.

Open Failed workflows to see every non-compliant file with the exact reason, then fix the YAML or adjust the rule.

Each policy has a detail page for editing its configuration and scoping. Non-compliance results include the offending file and the rule detail so a developer knows what to change.

On this page