poltio/Pull Request Preview
Creates unique preview environments for Pull Requests on Google Cloud Run
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 18, 2026
- License
- None
Pinned Snippet
uses: poltio/action-pr-preview@3337f6a2b9ce2c450183bf841eb47b74ec49782e # v0.0.17tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| GOOGLE_CLOUD_PROJECT_ID | Google Cloud Project ID you want to use. | yes | — |
| GOOGLE_CLOUD_SERVICE_ACCOUNT_KEY | Google Cloud Service Account KEY | yes | — |
| DOCKER_BUILD_ARGS | If you want to inject build params to docker build step. | yes | — |
| CLOUD_RUN_SERVICE_NAME | Google Cloud Run Service name you want to deploy | yes | — |
| CLOUD_RUN_REGION | The region you want your service to run | yes | — |
| CLOUD_RUN_SECRETS | Cloud Run secrets to mount or use env vars | no | "" |
| CLOUD_RUN_ENV_VARS | Cloud Run env vars | no | "" |
| ARTIFACT_REGISTRY_REGION | Google Artifact Registry region you want to use | yes | — |
| ARTIFACT_REGISTRY_REPO | Google artifact Registry repository you want to store your build image in | yes | — |
| ARTIFACT_REGISTRY_IMAGE | Google Artifact Registry image | yes | — |
Outputs
| name | description |
|---|---|
| PREVIEW_URL | The url for the preview environment. |