actions-marketplace-validations/Has Active Deployment for Environment
checks whether the commit Id is the active deployment on the specified environment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| environment | The environment name in GitHub | yes | — |
| github_token | The GitHub token (if not provided, the environment variable GITHUB_TOKEN will be used instead) | no | — |
| commit_sha | The commit sha to check and see if it is active (if not provided, the current commit id will be used) | no | — |
| number_of_deployments_to_check | The number of latest deployments to check (default is 5) | no | 5 |
Outputs
| name | description |
|---|---|
| has_active_deployment | True/False to represent if the commit has active deployment for the specified environment |
| currently_deployed_commit | The commit sha that is currently deployed to the specified environment |