Skip to content

Commit

Permalink
add commit links
Browse files Browse the repository at this point in the history
  • Loading branch information
tlin4194 committed Oct 30, 2024
1 parent 556a695 commit a4bc2ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"strings"

"github.com/runatlantis/atlantis/server/neptune/workflows/activities/github"
activity "github.com/runatlantis/atlantis/server/neptune/workflows/activities/terraform"
"github.com/runatlantis/atlantis/server/neptune/workflows/internal/deploy/terraform"
"github.com/runatlantis/atlantis/server/neptune/workflows/internal/metrics"
Expand Down Expand Up @@ -92,7 +93,8 @@ func (q *Deploy) GetQueuedRevisionsSummary() string {
return "No other revisions ahead In queue."
}
for _, deploy := range q.Scan() {
revisions = append(revisions, deploy.Commit.Revision)
revisionLink := github.BuildRevisionURLMarkdown(deploy.Repo.GetFullName(), deploy.Commit.Revision)
revisions = append(revisions, revisionLink)
}
return fmt.Sprintf("Revisions in queue: %s", strings.Join(revisions, ", "))
}
Expand Down

0 comments on commit a4bc2ce

Please sign in to comment.