Plugin: condition-gitea-actions
Confirms the current release is running inside Gitea Actions. Use it to block local or foreign CI runs from publishing official releases.
Installation
Section titled “Installation”Binary
Section titled “Binary”semrel plugin install @semrel/condition-gitea-actionssemrel plugin install downloads the binary to .semrel/plugins/ and updates .semrel.lock. Commit .semrel.lock to pin the version for your team.
Docker
Section titled “Docker”Pre-built, signed multi-platform images (linux/amd64, linux/arm64) are published on every release:
docker pull ghcr.io/semrels/condition-gitea-actions:latestVerify the image signature with cosign:
cosign verify ghcr.io/semrels/condition-gitea-actions:latest \ --certificate-identity-regexp 'https://github.com/SemRels/condition-gitea-actions/.github/workflows/release.yml.*' \ --certificate-oidc-issuer https://token.actions.githubusercontent.comConfiguration
Section titled “Configuration”version: 1plugins: - uses: @semrel/condition-gitea-actionsEnvironment Variables
Section titled “Environment Variables”| Name | Required | Default | Description |
|---|---|---|---|
| None | no | — | This plugin has no dedicated SEMREL_PLUGIN_* variables. |
Release Context Variables
Section titled “Release Context Variables”This plugin does not require any of the shared SEMREL_* release context variables to do its job.
Behavior
Section titled “Behavior”When GITEA_ACTIONS=true, the condition passes. Outside Gitea Actions, the plugin exits non-zero so the release does not continue.