actions-marketplace-validations/Dynamic Preview Environments using Humanitec
Dynamically create & deleted preview environments using Humanitec
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 18, 2026
- License
- None
Pinned Snippet
uses: actions-marketplace-validations/humanitec_preview-envs-action@f5881e95464389da13dc125beee211a820f4f03c # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| humanitec-token | Humanitec API token | yes | — |
| humanitec-org | The name of the Humanitec org | yes | — |
| humanitec-app | The name of the Humanitec app | yes | — |
| action | The action to be performed (create, notify or delete) | yes | — |
| github-token | GitHub token | no | — |
| base-env | The source environment id. | no | — |
| image | The image of the workload that should be deployed, "registry.humanitec.io/${humanitec-org}/${GITHUB_REPOSITORY}" by default. | no | — |
| humanitec-api | Allows the default humanitec api to be overridden for testing. | no | — |
| environment-url-template | Provide a custom mustache template for the environment url, "https://app.humanitec.io/orgs/{{orgId}}/apps/{{appId}}/envs/{{envId}}" by default. | no | — |
| create-automation-rule | Automatically create an automation rule for the environment, "true" by default. | no | true |
Outputs
| name | description |
|---|---|
| environment-url | URL where the running application can be accessed |
| humanitec-env | The id of the created environment |