Merge pull request 'use the repository-specific issue index instead of the global issue ID.' (#2) from stackit into main

Reviewed-on: #2
This commit is contained in:
STACKITGit 2026-04-23 12:25:26 +00:00
commit e970961f4d
Signed by: stackit.git.onstackit.cloud
GPG key ID: 2773B4AFAD68A336

View file

@ -111,7 +111,7 @@ func (a *approvalEnvironment) createApprovalIssue(_ context.Context) error {
}
a.approvalIssue = created
a.approvalIssueNumber = int(created.ID)
a.approvalIssueNumber = int(created.Index)
fmt.Printf("Issue created: %s\n", a.approvalIssue.HTMLURL)
return nil