actions-marketplace-validations/Previews
Github Action used to deploy preview environments, to Google Cloud Run.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Feb 21, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/codereviewsai_previews@7d37a9f45326b4f324fb35bc8e51d093af50f852 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| name | The name of the service (must be unique) to be deployed. This cannot exceed 24 characters | yes | — |
| port | The port that the application will run on in the container. | no | 8080 |
| service_account | The service account to be used for the Cloud Run service. | no | — |
| env_vars | List of environment variables that will be injected during runtime, each on a new line. | no | — |
| secrets | List of secrets that will be injected during runtime, each on a new line. | no | — |
| flags | List of flags that will be injected during runtime. | no | — |
| gcp_region | The GCP Region where the service will be deployed. | no | us-central1 |
| gcp_project_id | The GCP Project ID where the service will be deployed. | no | durable-primacy-268722 |
| gcp_service_account_key | The Service Account JSON Key used to push images to the GCP Artifact Registry. | yes | — |
| gcp_artifact_repository | The Artifact Registry name, you can override for custom names (i.e. the 'acme' in us-docker.pkg.dev/able-sailor-21423/acme) | yes | — |
| gcp_tag | A tag to be applied to the Cloud Run service, used for ingress or other permissions. | no | tagValues/281479867842234 |
| github_token | Github Token, pass in the `secrets.GITHUB_TOKEN`. | yes | — |
| docker_file_name | The Dockerfile name, you can override for custom names (i.e. DevDockerfile) | no | Dockerfile |
| docker_directory | Directory where the DockerFile is located. | no | . |
| docker_build_args | Comma separated list of arguments that will be injected during the build, each on a new line. | no | — |
Outputs
| name | description |
|---|---|
| url | The preview URL for the running application |