Plugin: condition-github-actions
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Confirms the current release is running inside GitHub Actions. It is useful when you want releases to happen only from your GitHub-hosted CI pipeline.
Installation
Section titled “Installation”go install github.com/SemRels/condition-github-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-github-actions path: condition-github-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 GITHUB_ACTIONS=true, the plugin succeeds immediately. If the variable is missing or set to another value, the condition fails and SemRel stops the pipeline.