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”go install github.com/SemRels/condition-gitea-actions@latestEach plugin is a standalone Go binary. Keep it on your PATH or reference it with path: in .semrel.yaml. If you keep secrets in a .env file, load them with semrel --env-file .env release.
Configuration
Section titled “Configuration”version: 1plugins: - name: condition-gitea-actions path: 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.