Skip to content

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.

Terminal window
semrel plugin install @semrel/condition-gitea-actions

semrel plugin install downloads the binary to .semrel/plugins/ and updates .semrel.lock. Commit .semrel.lock to pin the version for your team.

Pre-built, signed multi-platform images (linux/amd64, linux/arm64) are published on every release:

Terminal window
docker pull ghcr.io/semrels/condition-gitea-actions:latest

Verify the image signature with cosign:

Terminal window
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.com
version: 1
plugins:
- uses: @semrel/condition-gitea-actions
NameRequiredDefaultDescription
NonenoThis plugin has no dedicated SEMREL_PLUGIN_* variables.

This plugin does not require any of the shared SEMREL_* release context variables to do its job.

When GITEA_ACTIONS=true, the condition passes. Outside Gitea Actions, the plugin exits non-zero so the release does not continue.