1
0
mirror of https://github.com/ChristianSch/gitea-release-drafter.git synced 2025-06-15 08:38:14 +00:00

Merge pull request #3 from raucao/bugfix/pull_request_id

This commit is contained in:
ChristianSch 2023-04-06 11:55:04 +02:00 committed by GitHub
commit 66651573cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ func updateOrCreateDraftRelease(a *Action, cfg *config.RepoConfig) (*gitea.Relea
fmt.Fprintf(&b, "## %s\n\n", strings.Title(label))
for _, pr := range prs {
fmt.Fprintf(&b, "* %s (#%d) @%s\n", pr.Title, pr.ID, pr.Poster.UserName)
fmt.Fprintf(&b, "* %s (#%d) @%s\n", pr.Title, pr.Index, pr.Poster.UserName)
}
b.WriteString("\n")