Skip to content

Commit

Permalink
atlasaction: fixed missing re-run command for GH
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Dec 17, 2024
1 parent 86db755 commit d49cea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atlasaction/gh_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ func (c *githubAPI) CommentLint(ctx context.Context, tc *TriggerContext, r *atla
func (c *githubAPI) CommentPlan(ctx context.Context, tc *TriggerContext, p *atlasexec.SchemaPlan) error {
// Report the schema plan to the user and add a comment to the PR.
comment, err := RenderTemplate("schema-plan.tmpl", map[string]any{
"Plan": p,
"Plan": p,
"RerunCommand": tc.RerunCmd,
})
if err != nil {
return err
Expand Down

0 comments on commit d49cea6

Please sign in to comment.