actions-marketplace-validations/Preview Pull Requests in Kubernetes

Deploy preview of Pull Requests to Kubernetes using Helm charts

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 24, 2024
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/vendanor_preview-pull-request@2f7b5cb04a1bba6220dc74e957427e4c23b03269 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
tokenYour Github tokenyes$
probeSet to true if you only want to probe for informationnofalse
docker-fileDockerfile to build, tag with preview metadata and publish to container registrynoDockerfile
docker-registryDocker container registry. Defaults to Github container registrynoghcr.io
docker-usernameUsername docker container registry, ghcr? github.repository_ownerno
docker-passwordPassword docker container registryno
docker-image-nameExample vn-my-appno
docker-organizationOrganization used to construct docker registry urlnovendanor
docker-tag-majorMajor tag used when tagging docker images, example: 1.0no1.0
docker-pullsecretDocker pullsecret to use when pulling docker images from registry when deploying helm chartno
helm-namespaceHelm namespace where Helm releases are published. Also used as k8s namespace!nopreview
helm-repo-urlHelm chart repo. If supplied, Helm charts are published herenohttps://helm.vendanor.com
helm-organizationUsed when pushing helm chart to helm chart reponovendanor
helm-repo-userUsername to helm chart repo if you want to publish chartnovendanor
helm-repo-passwordHelm chart repo password if you want tp publish chartno
helm-chartPath to helm chart in repo, example: charts/vn-my-appnochart
helm-tag-majorMajor tag when tagging helm chart previews, example: 1.0yes1.0
helm-remove-preview-chartsRemove all preview helm charts when calling command removeyestrue
helm-key-appnameThe key to set in your helm chart to set when installing previewyesappname
helm-key-namespacek8s namespace key to overrideyesnamespace
helm-key-imageThe key to set in your helm chart to set when installing previewyesimage
helm-key-pullsecretThe key to set in your helm chart to set when installing previewyespullsecret
helm-key-hostThe key to set in your helm chart to set when installing previewyeshost
helm-key-containersuffixThe key to set in your helm chart to set when installing previewyescontainersuffix
helm-key-cluster-issuerThe key to set in your helm chart to set when installing previewyesclusterIssuer
helm-key-tls-secret-nameThe key to set in your helm chart to set when installing previewyestlsSecretName
app-nameApp name used in preview url.yes
hash-saltSecret salt used to generate preview hashnosalt
base-urlBase preview url, example preview.domain.comnopr.st.vendanor.com
cluster-issuerName of cluster issuer to useyesvn-letsencrypt-preview-issuer
tls-secret-nameCertificate secret name. Use a shared name for wildcard certsyesvn-preview-wild
helm-valuesExtra values to pass to helm upgrade --set. Example: key1=val1,key2=val2no
waitWaits until deployment is successful, pods are running, etc. before marking the release as successfulnofalse
namedescription
previewUrlComplete url to preview
dockerImageVersionDocker image name including tags (semver)
helmReleaseNameHelm chart release version including tags (semver)
successwas everything successful or not.
isPreviewEnabledReturns true if user has requested a preview. Checks hidden value in comment
isBotReturns true if action was triggered by a bot
isCommentReturns true if action was triggered by a comment
isValidCommandReturns true if comment contains a valid command
isAddPreviewPendingReturns true if a preview will be deployed
isRemovePreviewPendingReturns true if a preview will be removed
pullRequestNumberReturns the pull request number
headRefUse this to checkout the correct ref when triggered by a comment. Can be null