Skip to content

Commit

Permalink
fix(github): Exclude Draft Releases in the ReleaseExtractor (#8214)
Browse files Browse the repository at this point in the history
Draft releases lead to a bug described in GH Issue #8148
  • Loading branch information
J0shSkqlq authored Nov 27, 2024
1 parent ab05664 commit c1aaa8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/plugins/github_graphql/tasks/release_extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ func ExtractReleases(taskCtx plugin.SubTaskContext) errors.Error {
if err != nil {
return nil, err
}

if release.IsDraft {
return nil, nil
}
var results []interface{}
githubRelease, err := convertGitHubRelease(release, data.Options.ConnectionId, data.Options.GithubId)
if err != nil {
Expand Down

0 comments on commit c1aaa8b

Please sign in to comment.