Skip to content

Commit

Permalink
Merge pull request #8 from PRODYNA/feature/get-more-deployments
Browse files Browse the repository at this point in the history
Feature/get more deployments
  • Loading branch information
dkrizic authored Mar 17, 2024
2 parents 74351cd + 1ea10c1 commit 20ada07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ inputs:
default: '/template/default.tpl'
runs:
using: 'docker'
image: 'docker://ghcr.io/prodyna/deployment-overview:v0.6'
image: 'docker://ghcr.io/prodyna/deployment-overview:v0.7'
env:
ORGANIZATION: ${{ inputs.organization }}
REPOSITORIES: ${{ inputs.repositories }}
Expand Down
2 changes: 1 addition & 1 deletion result/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (repository *Repository) IterateEnvironments(ctx context.Context, gh *githu
if deployment.GetEnvironment() == env {

// get the status for this deployment
statuses, _, err := gh.Repositories.ListDeploymentStatuses(ctx, config.Organization, repository.Name, deployment.GetID(), nil)
statuses, _, err := gh.Repositories.ListDeploymentStatuses(ctx, config.Organization, repository.Name, deployment.GetID(), &github.ListOptions{PerPage: 100})
if err != nil {
slog.ErrorContext(ctx, "Unable to list deployment statuses", "organization", config.Organization, "repository", repository.Name, "error", err)
environment.Version = err.Error()
Expand Down

0 comments on commit 20ada07

Please sign in to comment.